Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Explore PowerShell Help

$
0
0

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.


Viewing all articles
Browse latest Browse all 34890