Cloud

az vm list

SafeList Azure VMs

az vm list -d -o table

Lists Azure VMs with their state.

Examples

  • az vm list -d -o tableShow with power state

Syntax

az vm list [-d] [-o table]

Before you run it

Read-only.

Used when you see

Locked out of an Azure VM
2
Check the VM's power state
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store