Azure CLI 2 · Resource groups and VMs
Start a VM
Start a stopped or deallocated VM.
az vm start --resource-group my-rg --name my-vm
Official Azure CLI 2 documentation
More resource groups and vms commands
- Create a resource group
- List resource groups
- Delete a resource group
- Create a Linux VM
- List VMs and their IPs
- Stop and deallocate a VM
All resource groups and vms commands · Azure CLI 2 cheatsheet