Running VM's can be expensive especially when you don't use them. With this code sample for a RunBook you can make sure that your VM is shutdown at a specified time.

Resource Manager

Classic