Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

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 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>