Share via


VirtualMachineRunCommandScriptSource.ScriptShell Property

Definition

Optional. Specify which shell to use for running the script. These values must match those expected by the extension. Currently supported only for Windows VMs, script uses Powershell 7 when specified. Powershell 7 must be already installed on the machine to use Powershell7 parameter value.

public Azure.ResourceManager.Compute.Models.ScriptShellType? ScriptShell { get; set; }
member this.ScriptShell : Nullable<Azure.ResourceManager.Compute.Models.ScriptShellType> with get, set
Public Property ScriptShell As Nullable(Of ScriptShellType)

Property Value

Applies to