CmdletCommonMetadataAttribute.DefaultParameterSetName Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets or sets the parameter set that is used when Windows PowerShell cannot determine the parameter set to use based on the specified parameters. This property is introduced in Windows PowerShell 2.0.

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

public string DefaultParameterSetName { get; set; }

Property Value

Type: System.String

Returns a String that contains the name of the default parameter set that is used when Windows PowerShell cannot determine the parameter set to use based on the specified parameters.

Return to top

Community Additions

ADD
Show: