CmdID / az / az vm / az vm run-command
az vm run-command wait
Place the CLI in a waiting state until a condition is met. Azure CLI reference
6 options Its page in the Azure CLI reference
Options
--command-idThe command id.--expandThe expand expression to apply on the operation.--instance-viewThe instance view of a run command.--location, -lLocation.--run-command-name, --name, -nThe name of the VirtualMachineRunCommand--vm-nameThe name of the VirtualMachine