April 21st, 2015

PowerTip: Find PowerShell Cmdlets and Synopsis

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find cmdlets and their associated synopsis.

Hey, Scripting Guy! Question How can I easily find a list of specific Windows PowerShell cmdlets and their associated meanings?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet, pipe the results to the Foreach-Object and Get-Help cmdlets,
           then select the name and synopsis, for example:

gcm -Noun item* | % {get-help $_} | ft name, synopsis

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.