PSRemotingBaseCmdlet.RunAsAdministrator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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