Page 1 of 1

How do you display help

Posted: Fri Sep 20, 2019 1:06 am
by maxdamage
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.

Re: How do you display help

Posted: Fri Sep 20, 2019 4:43 am
by mxtrinidad
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!