Automating #Azure VM stop and start


This is an old topic, but at the same time a big ask for Azure IaaS deployments. It would be great to be able to start and stop Virtual Machines based on a weekly schedule, and let’s add the option to run a specific script before shutdown or after startup.
I just published an automation based on the work of Paulo Marques that extends his solution and get rid of Powershell Workflow in favor of plain Powershell.
The solution is currently used in production, but still misses some good documentation and code polishing. If you’re interested you’re welcome :-).
Here is the github repo.

Advertisements

,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: