Skip to content
SmiKar Software
How to Automate a scheduled power down and on of Azure VMs

How to Automate a scheduled power down and on of Azure VMs

If you need to create an automated process that shuts down or powers on your Azure VMs to save you from paying fees to Microsoft for services while they are not being utilised, you can do this with the Azure Virtual Machine Scheduler tool that we have created. AVMS as it is known can automate a schedules that you specify to do all this for you and to send you email alerts during the process. You could use AVMS for your Development and Test systems housed within Azure, saving you money while they are not being used.

It is quite a simple process to create a new schedule. Open up the Azure Virtual Machine Scheduling tool and first let it sync with your Microsoft Azure Subscriptions so that it can populate all your VMs.

Azure Scheduler Console Screen

Click the Virtual Machines Icon to show your Azure virtual machines.

Azure VM Scheduler VMs Window

Select the Azure VMs you want to either power down or power on and make sure that you tick the according checkbox for each machine. Once you have selected all the machines you wish, right click in the console as below and choose create new schedule.

Azure VMS Create new schedule

Next, give the schedule a name, use the drop down box to choose whether to automate a power on or shutdown schedule for your Azure Virtual Machines and then a description if you wish to do so. Click OK  to continue. In the example below, we can see we are creating a Power on Schedule. Keep in mind, if you wish to power machines on and then off, you will need to go through these steps twice, choosing the appropriate Job type.

Azure VM Power On Schedule 2

Next we will create the schedule. Click OK in the below window.

Azure Power on Schedule

Click NEW to create a new schedule

Azure Power on Schedule

Now choose a date and time you wish your Azure virtual machines to Power On. Click OK when ready.

Azure Power on Schedule 3

Confirm the Date and Time are what you created and then click OK.

Azure Power on Schedule 4

Thats all there is to it. You have now automated a scheduled power down or power on of your virtual machines within Azure.

Azure Power on Schedule 4

The Azure Virtual Machine Scheduling tool will now start up your virtual machines with Microsoft’s Azure cloud at the time you specified. If you have setup email alerts, you will be notified when the job starts and completes.

If you now need to complete a Power Off schedule, go through these same steps again, but choose Shutdown Virtual Machines (Deallocate) as show in the window below.

Azure VMS Power On Schedule 6

Click this link to learn more about the Azure Virtual Machine Scheduler. Feel free to Download a fully functioning 30 day trial and test it for yourself.

Also, see the other products that SmiKar Software have developed. From SnaPatch our patch management addon for SCCM, SnapShot Master that automates your Vmware or Hyper-V snapshots and even AVMD our free tool that helps deploy Virtual Machines to Microsoft’s Azure cloud.

2 thoughts on “

Leave a Reply