Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSCmdlet.ParameterSetName Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the name of the parameter set that is used by the cmdlet.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

Public ReadOnly Property ParameterSetName As String

Property Value

Type: System.String

The name of the parameter set that is used by the cmdlet.

Cmdlets can specify any number of parameter sets when the cmdlet specifies its parameters. For more information about specifying a parameter set while declaring parameters, see Parameter Attribute Declaration.

For more information about cmdlets, see Cmdlet Overview.

Return to top

Community Additions

Show: