September 18th, 2012

PowerTip: Use Show-Command to See PowerShell Parameters

Doctor Scripto
Scripter

Summary: Use Show-Command to display interactive Windows PowerShell parameter Help.

Hey, Scripting Guy! Question How do you display the parameters and parameter sets of Windows PowerShell cmdlets in an interactive fashion?

Hey, Scripting Guy! Answer Use the Show-Command cmdlet from the Windows PowerShell console or the Windows PowerShell ISE:

            Show-Command –name cmdletname

For example:

Show-Command get-process

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.