Avançar para o conteúdo principal
EM PRÉ-VISUALIZAÇÃO

Public preview: Run Command – Execute PowerShell or shell scripts on Virtual Machines and Scale Sets

Data de publicação: 16 novembro, 2021

The ability to manage VMs by remotely executing scripts has been improved with the updated Run Command feature. Now it’s possible to execute multiple scripts at the same time, manage their progress and persist the execution outputs. Scripts and parameters can be used in ARM templates to automate the deployment. For long running scripts, asynchronous mode is supported to prevent blocking the VM provisioning. 

  • Custom script timeout can be specified to manage the execution expectation. 
  • Scripts can run under different user accounts (default to system account if not specified). 
  • Optionally, if the script output streams are expected to be large, external storage location can be specified for the VM to write the output directly. 
  • Run Command resources can be deployed to the entire virtual machine scale set, which will ensure script execution during scale out operations. 

Learn more about this new feature.

  • Máquinas Virtuais
  • Conjuntos de Dimensionamento de Máquinas Virtuais
  • Features
  • Microsoft Ignite