Copy-ready commandaz vm get-instance-view
az vm get-instance-view -g rg-app-prod -n vm01 -o tableRequirements and permissions
- Requirements
- Azure CLI
- Permissions
- Azure RBAC permissions vary
- Last reviewed
- 2026-07-31
Examples
Basic example
Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o tableCommon errors
Command not found
Confirm Azure CLI is installed and available in your current shell.