ImageTemplatePowerShellValidator.RunAsSystem Property

Definition

If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.

[Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Owned)]
public bool? RunAsSystem { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Origin(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.PropertyOrigin.Owned)>]
member this.RunAsSystem : Nullable<bool> with get, set
Public Property RunAsSystem As Nullable(Of Boolean)

Property Value

Implements

Attributes

Applies to