VirtualMachineRunCommandScriptSource.ScriptShell 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.
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)