Skip to content

AZ CLI

VM

az vm list

Starting / Stopping a VM

az vm start -g MyResourceGroup -n MyVm
az vm stop -g MyResourceGroup -n MyVm

Note "it will continue to be billed. To deallocate a VM, run: az vm deallocate."

az vm deallocate -g MyResourceGroup -n MyVm