Partager via


PSExecutionCmdlet.ConfigurationName Property

Definition

For WSMan session: 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:
 virtual property System::String ^ ConfigurationName { System::String ^ get(); void set(System::String ^ value); };
public:
 virtual property Platform::String ^ ConfigurationName { Platform::String ^ get(); void set(Platform::String ^ value); };
public virtual 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="FilePathComputerName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathUri", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathVMId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathVMName", 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 virtual 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="FilePathComputerName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathUri", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathVMId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathVMName", 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 Overridable Property ConfigurationName As String

Property Value

Attributes

Applies to