This script shutdowns/starts VMs (both ASM and ARM) by a given resource group name in sequence.You have to create a run as account with the name AzureRunAsConnection in order to access your account. You can create it automatically when you create your automation account.You