Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Easily Check Syntax Options for a PowerShell Cmdlet

$
0
0

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

  I want to know what syntax options (parameter sets) exist for a particular Windows PowerShell cmdlet. How can I find them easily?

  Use the Get-Command cmdlet and check the Definition property. The code is shown here:

(Get-Command Stop-Process).Definition

   


Viewing all articles
Browse latest Browse all 34890

Trending Articles