How do you display help

Ask your PowerShell-related questions, including questions on cmdlet development!
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.
User avatar
Posts: 1
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Sun Mar 03, 2013 12:42 pm

How do you display help

Post 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.

User avatar
Site Admin
Posts: 399
Joined: Sun Mar 03, 2013 12:42 pm

Re: How do you display help

Post 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: ... able-file/

Just be creative!