PowerTip: Check Syntax Options for PowerShell Cmdlet

Dr 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



Comments are closed. Login to edit/delete your existing comments