IVirtualMachineScaleSetBeta.RunPowerShellScriptInVMInstance Method
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.
Run PowerShell script in a virtual machine instance in a scale set.
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
Parameters
- vmId
- String
The virtual machine instance id.
- scriptParameters
- IList<RunCommandInputParameter>
Script parameters.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по