December 27th, 2014

PowerTip: Explore PowerShell Help

Doctor Scripto
Scripter

Summary: Use Out-GridView to easily explore Windows PowerShell Help.

Hey, Scripting Guy! Question How can I easily explore Windows PowerShell cmdlets and then see the cmdlet Help from them?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet, pipe the output to Out-GridView with the -Wait parameter,
           and then pipe the results to Get-Help with the –Full parameter.
           This example finds all cmdlets that begin with the verb Set:

Get-Command -Verb set | Out-GridView -PassThru | get-help -Full

Note  For this to work, you must open Windows PowerShell with administrator rights, and run the Update-Help 
command at least once to ensure that you have updated Help content on your computer.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback