December 13th, 2014

PowerTip: Use PowerShell Out-GridView to Explore Cmdlets

Doctor Scripto
Scripter

Summary: Use the Windows PowerShell Out-GridView cmdlet to aid in exploring cmdlets.

Hey, Scripting Guy! Question How can I use Windows PowerShell to graphically explore cmdlets provided by the Hyper-V module and filter by verb?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet and specify the Hyper-V module. Select the name, verb, noun, and definition
           properties and pipe the results to the Out-GridView cmdlet:

Get-Command -Module Hyper-V | Select name, verb, noun, definition | Out-GridView

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.