Stop / Start all or only tagged Azure VMs in parallel

This PowerShell Workflow Runbook connects to Azure using an Automation Run As account, retrieves the power status of Azure VMs and turns off / on in parallel those that are turned on / off. You can attach a recurring schedule to this runbook to run it at a specific time.

3,330 times
Add to favorites
Windows Azure
E-mail Twitter Digg Facebook
  • Wrong characters in line 23
    2 Posts | Last post July 30, 2019
    • $null = Disable-AzContextAutosave –Scope Process
      Please correct it
    • This line is correct but I don't know why the "-" character changes to "–" when browsing the Runbook from the gallery in Azure Automation. Anyway, I've uploaded it again and I'll check later when the gallery will reflect this update.