Share via


EnterPSSessionCommand.ConfigurationName Property

Definition

For WSMan sessions: If this parameter is not specified then the value specified in the environment variable DEFAULTREMOTESHELLNAME will be used. If this is not set as well, then Microsoft.PowerShell is used.

For VM/Container sessions: If this parameter is not specified then no configuration is used.

public:
 property System::String ^ ConfigurationName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ ConfigurationName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string ConfigurationName { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="Uri", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)]
public string ConfigurationName { get; set; }
member this.ConfigurationName : string with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)>]
member this.ConfigurationName : string with get, set
Public Property ConfigurationName As String

Property Value

Attributes

Applies to