CmdID

CmdID / az / az vm / az vm boot-diagnostics

az vm boot-diagnostics disable

Disable the boot diagnostics on a VM. Azure CLI reference

2 examples Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Disable boot diagnostics on all VMs in a resource group.

az vm boot-diagnostics disable --ids $(az vm list -g MyResourceGroup --query "[].id" -o tsv)Identify
--idsOne or more resource IDs (space-delimited).

Disable the boot diagnostics on a VM

az vm boot-diagnostics disable --ids $(az vm list --resource-group MyResourceGroup --query "[].id" -o tsv) --name MyVirtualMachine --resource-group MyResourceGroupIdentify
--idsOne or more resource IDs (space-delimited).
--resource-groupName of resource group.