Once I have compiled (encoded, Build) my script to an EXE, Is it possible to view the help I put in the header ?
If it was still a script I would use the normal 'Help scriptname.ps1 -full'. How would I do that with an exe ? I'm using PS Studio 2018.
Or do I need to code it independently?
Thanks in advance for any help.
How do you display help
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: How do you display help
As a script executable behaves differently, you'll need to code for the help part differently.
Check out the following article that may give an idea how-to do it: https://www.sapien.com/blog/2019/06/27/ ... able-file/
Just be creative!
Check out the following article that may give an idea how-to do it: https://www.sapien.com/blog/2019/06/27/ ... able-file/
Just be creative!