PSRemotingBaseCmdlet.RunAsAdministrator Property

Definition

When set, PowerShell process inside container will be launched with high privileged account. Otherwise (default case), PowerShell process inside container will be launched with low privileged account.

public:
 virtual property System::Management::Automation::SwitchParameter RunAsAdministrator { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public virtual System.Management.Automation.SwitchParameter RunAsAdministrator { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ContainerId")]
public virtual System.Management.Automation.SwitchParameter RunAsAdministrator { get; set; }
member this.RunAsAdministrator : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId")>]
member this.RunAsAdministrator : System.Management.Automation.SwitchParameter with get, set
Public Overridable Property RunAsAdministrator As SwitchParameter

Property Value

Attributes

Applies to