PowerTip: Find Syntax of PowerShell Cmdlet

Doctor Scripto

Summary: Easily find the syntax of a Windows PowerShell cmdlet.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see the syntax of a cmdlet I want to use?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet (gcm is an alias) with the –Syntax switch, for example:

gcm Checkpoint-Computer -Syntax


Discussion is closed.

Feedback usabilla icon