次の方法で共有


IVirtualMachinesBeta.RunPowerShellScript メソッド

定義

仮想マシンでシェル スクリプトを実行します。

public Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner RunPowerShellScript (string groupName, string name, System.Collections.Generic.IList<string> scriptLines, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> scriptParameters);
abstract member RunPowerShellScript : string * 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 RunPowerShellScript (groupName As String, name As String, scriptLines As IList(Of String), scriptParameters As IList(Of RunCommandInputParameter)) As RunCommandResultInner

パラメーター

groupName
String

リソース グループ名。

name
String

仮想マシン名。

scriptLines
IList<String>

PowerShell スクリプト行。

scriptParameters
IList<RunCommandInputParameter>

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

戻り値

適用対象