StopStartVM

1.0.4

Azure Automation Workflow Runbook Script to stop or start all Virtual Machines in the current subscription or in a specific Resource Group. Useful for dev and test environments. Written to be used as either a scheduled job at the close of business or ad hoc when VMs are finished with for the moment. If the VM is tagged with ShutdownPolicy = Excluded, the VM is not sto
Azure Automation Workflow Runbook Script to stop or start all Virtual Machines in the current subscription or in a specific Resource Group. Useful for dev and test environments. Written to be used as either a scheduled job at the close of business or ad hoc when VMs are finished with for the moment. If the VM is tagged with ShutdownPolicy = Excluded, the VM is not stopped. VMs are also not stopped if it is already managed by a schedule. Requires an Azure Automation account with an Azure Run As account credential.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name StopStartVM

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Rob Goodridge

Copyright

(c) 2020 Rob Goodridge. All rights reserved.

Owners

Tags

Azure Automation Cloud AzureAutomation AzureDevOps DevOps AzureRM Workflow Runbook

Workflows

StopStartVM

Dependencies

Release Notes

1.0.1: - Add initial version
1.0.2: - Gallery text changes
1.0.3: - Use Connect-AzureAutomation module
1.0.4: - Deal with 0 VMs

Version History

Version Downloads Last updated
1.0.4 (current version) 26 7/24/2020