PowerShell script for windows system maintenance.
This script will allow the user to turn all Azure VMs ON or OFF via an automation connection that won't require insteractive input of credentials
- Install the Azure Resource Manager modules from the PowerShell Gallery Install-Module AzureRM
- Reference the Azure Automation Connections info https://docs.microsoft.com/en-us/azure/automation/automation-connections
This script will allow the user to turn all Azure VMs ON or OFF & prompts for user credentials
- Install the Azure Resource Manager modules from the PowerShell Gallery Install-Module AzureRM