Sdílet prostřednictvím


PSSessionConfigurationCommandBase.Name Property

Definition

This parameter enables the user to specify a shell name for the created custom shell.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Name { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="NameParameterSet", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="AssemblyNameParameterSet", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionConfigurationFile", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Name { get; set; }
member this.Name : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="NameParameterSet", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="AssemblyNameParameterSet", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionConfigurationFile", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to