PowerTip: Find Information About PowerShell Cmdlet Parameter Sets

Doctor Scripto

Summary: Learn how to find information about Windows PowerShell cmdlet parameter sets.

Hey, Scripting Guy! Question How can I find information about the various parameter sets for a specific Windows PowerShell cmdlet?

Hey, Scripting Guy! Answer Use Get-Command to return cmdlet information, pipe the results to the Select-Object cmdlet,
          and expand the ParameterSets property:

Get-Command Stop-Process | select -expand parametersets


Discussion is closed.

Feedback usabilla icon