你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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