CmdID / az / az serial-console / az serial-console send
az serial-console send nmi
Send a Non-Maskable Interrupt (NMI) to a VM or VMSS Instance Azure CLI extensions reference
2 examples 4 options Its page in the Azure CLI extensions reference
Examples
Send NMI to VM
az serial-console send nmi -n MyVM -g MyResourceGroupIdentify-nName of the Virtual Machine or Virtual Machine Scale Set.-gName of resource group.Send NMI to VMSS Instance with ID 2
az serial-console send nmi -n MyVMSS -g MyResourceGroup --instance-id 2Identify-nName of the Virtual Machine or Virtual Machine Scale Set.-gName of resource group.--instance-idID of VMSS instance.Options
--instance-idID of VMSS instance.--name, -nName of the Virtual Machine or Virtual Machine Scale Set.--resource-group, -gName of resource group.--subscriptionName or ID of subscription.