Skip to content

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

License

Notifications You must be signed in to change notification settings

azureautomation/stop-all-virtual-machines-in-a-subscription--not-deallocated-included-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stop All virtual machines in a subscription (not deallocated included)

Stop 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 stop Azure vms in a subscription

This script provides:  

  • Stop execution of VM in running state
  • Stop execution of VM in poweroff state (not deallocated) 
  • List all resource groups for a subscription
  • Location filtering on resource groups (westeurope in example) 
  • List all Azure RM Virtual Machines of those resource group 

 

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages