次の方法で共有


IVirtualMachineScaleSetBeta.RunPowerShellScriptInVMInstance メソッド

定義

スケール セット内の仮想マシン インスタンスで PowerShell スクリプトを実行します。

public Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner RunPowerShellScriptInVMInstance(string vmId, System.Collections.Generic.IList<string> scriptLines, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> scriptParameters);
abstract member RunPowerShellScriptInVMInstance : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> -> Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner
Public Function RunPowerShellScriptInVMInstance (vmId As String, scriptLines As IList(Of String), scriptParameters As IList(Of RunCommandInputParameter)) As RunCommandResultInner

パラメーター

vmId
String

仮想マシン インスタンス ID。

scriptLines
IList<String>

PowerShell スクリプト行。

scriptParameters
IList<RunCommandInputParameter>

スクリプトのパラメータ。

戻り値

適用対象