This blog post will show you how to configure a Microsoft Azure virtual machine to auto-shutdown using Azure CLI.
The following Azure CLI command will configure Auto-shutdown on an Azure machine called windows 10. It will shut down automatically every day at 1130 UTC. Before setting the time, make sure you set the right UTC based on your zone.
az vm auto-shutdown --resource-group wsl -name windows10 --time 1130
For more Azure blog posts please visit our Azure category page.