Shutting down your Azure Virtual Machines during non-working hours - System Center Blog by Russ Slaten - Site Home - MSDN Blogs

added by Paul Wheeler
3/13/2014 1:25:41 PM

2 Kicks, 50 Views

I have a few Azure accounts which I use for labs, mainly virtual machines running various applications such as System Center. It works great but I want to limit the utilization of these virtual machines to minimize the associated costs. Since these are just labs I usually don’t need them late at night and possibly on weekends. I wrote some runbooks that use PowerShell and thought this might be useful for the community. The runbooks start the VMs at 7am starting with the DC, then SQL, and finally the Application VMs. The runbooks then stop the VMs at 11pm starting with the application VMs, then SQL, and finally the DC.