Skip to content

Starts 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.

License

Notifications You must be signed in to change notification settings

azureautomation/starts-virutal-machines-in-a-subscription-using-python-from-azure-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Starts virutal machines in a subscription using Python from Azure Automation

Starts 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. If no arguments are specified, then all VMs that are currently stopped are started. If a resource group is specified, then all VMs in the resource group are started. If a resource group and VM are specified, then that specific VM is started.

Args:     groupname (-g) - Resource group name.     vmname (-v) - virtual machine name

    Starts the virtual machines     Example 1:             start_azure_vm.py -g -v             start_azure_vm.py -g             start_azure_vm.py

 

** *** *

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

Starts 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages