In this post I’ll show how to setup Azure VMs turn off & on by schedule using Azure Automation which is really useful for cost saving.
We’ll use dozen of actions to manage this task.
However, not all actions can be managed with PowerShell, so we’ll use old Azure portal a few times.
Initially I used one big script, but for this demo I decided to split it to makeĀ things simple.
In this particular example I’ll use two VMs running in the same cloud service.

