PowerTip: Check Syntax Options for PowerShell Cmdlet

Doctor Scripto

Summary: Use the Get-Command cmdlet to check syntax options for a Windows PowerShell cmdlet.

  How can I easily find syntax options (parameter sets) that exist for a particular Windows PowerShell cmdlet?

  Use the Get-Command cmdlet and check the Definition property, for example:

(Get-Command Stop-Process).Definition

  

0 comments

Discussion is closed.

Feedback usabilla icon