/start-all-virtual-machines-in-a-subscription--with-days-exclusion-

Start Azure All RM virtual machines in a subscription (with days exclusion). An Azure Automation RunAs account is required for this runbook.

Primary LanguagePythonOtherNOASSERTION

Start All virtual machines in a subscription (with days exclusion)

Start Azure resource manager virtual machines in a subscription. An Azure Automation RunAs account is required for this runbook.

This Azure Automation runbook runs on Azure to start Azure vms in a subscription

This script provides: 

  • Days exclusion (Saturday & Sunday) as example
  • Location filtering on resource groups (westeurope as example)
  • List all resource groups for a subscription
  • List all Azure RM Virtual Machines of those resource groups

 

 

TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group. All the Script Center fields like Rating, RatingCount and DownloadCount have been carried over to Github as-is for the migrated scripts only. Note : The Script Center fields will not be applicable for the new repositories created in Github & hence those fields will not show up for new Github repositories.