Copy-ready commandaz vm restart Help and Syntax
az vm restart --helpProduction warning
Help and syntax commands are generally read-only. The original command shown for context may change systems or data; review it before execution.
Requirements and permissions
- Requirements
- Azure CLI
- Permissions
- No elevated permissions are normally required to view help; local policy and shell access still apply.
- Last reviewed
- 2026-07-31
Examples
Display the full reference
Displays context-sensitive Azure CLI help for the selected command group or operation.
az vm restart --helpOriginal command context
The original az vm restart example is included for context. Review all parameters before using it in production.
az vm restart -g rg-app-prod -n vm01Common errors
Azure CLI command group is not recognized
Update Azure CLI and verify any required extension is installed with az extension list.