Windows Dev Center

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

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)

Dim instance As PSCmdlet
Dim value As String

value = instance.ParameterSetName

Public ReadOnly Property ParameterSetName As String
/** @property */
public String get_ParameterSetName ()

public function get ParameterSetName () : String

Property Value

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 ParameterAttribute Declaration.

For more information about cmdlets, see Windows PowerShell Cmdlets.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft