PowerTip: Explore PowerShell Help


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.

Comments (2)

  1. Chen V says:

    Good one, for me help is better that Get-Help because its paginated .
    Get-Command -Verb set | Out-GridView -PassThru | help -Full
    If we use it in console it’s useful . Thanks for Sharing!

  2. Mike Kuhn says:

    Using Out-GridView -PassThru, as in the code, gives the desired results. Using Out-GridView -Wait as in the narrative does not seem to work as intended. With -Wait the OK button at the bottom of the Out-GridView does not appear.

Skip to main content