List VMs with power state az
-d enriches with runtime IP/power state; plain list omits these fields
az vm list -d -o table --query "[].{name:name,ip:publicIps,state:powerState}"
more az
all 4 commands →
-d enriches with runtime IP/power state; plain list omits these fields
az vm list -d -o table --query "[].{name:name,ip:publicIps,state:powerState}"