Skip to content

This PowerShell Workflow runbook connects to Azure using an Automation Credential and Starts/Stops a VM/a list of VMs/All VMs in a Subscription in-parallel.

License

Notifications You must be signed in to change notification settings

azureautomation/stopstartazurevm--scheduled-vm-shutdownstartup-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stop-Start-AzureVM (Scheduled VM Shutdown/Startup)

DESCRIPTION

This PowerShell Workflow runbook connects to Azure using an Automation Credential and Starts/Stops a VM/a list of VMs/All VMs in a Subscription in-parallel. You can attach a recurring schedule to this runbook to run it at a specific time.

REQUIRED

  1. SubscriptionId - parameter that allows scoping VMs to a particular  Subscription.

  2. **AzureVMList - **parameter to input the VM/VMList Name - seperated by (,)

  3. **Action - **Parameter to perform the action. **Stop **- to stop the Azure Virtual Machine; **Start **- to start the Azure Virtual Machine

NOTES:

1. **AzureCredential **- Is added as an credential under Shared Resources at the Automation Account level.

 

 

 

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

This PowerShell Workflow runbook connects to Azure using an Automation Credential and Starts/Stops a VM/a list of VMs/All VMs in a Subscription in-parallel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published