Share via


GetPSSessionCommand.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 all sessions that match other filters are returned.

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="ComputerInstanceId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ContainerIdInstanceId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMIdInstanceId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="VMNameInstanceId", ValueFromPipelineByPropertyName=true)]
public string ConfigurationName { get; set; }
member this.ConfigurationName : string with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerInstanceId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerIdInstanceId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMIdInstanceId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="VMNameInstanceId", ValueFromPipelineByPropertyName=true)>]
member this.ConfigurationName : string with get, set
Public Property ConfigurationName As String

Property Value

Attributes

Applies to