Compartir a través de


IVirtualMachineBeta.RunPowerShellScript Método

Definición

Ejecute el script de shell en una máquina virtual.

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

Parámetros

scriptLines
IList<String>

Líneas de script de PowerShell.

scriptParameters
IList<RunCommandInputParameter>

Parámetros de la secuencia de comandos.

Devoluciones

Se aplica a