Get Available Azure VM Size Using Azure CLI in PowerShell



To get all the available Azure VM sizes using Azure CLI from the specific location, we can use the az vm list-sizes command.

PS C:\> az vm list-sizes -l eastus

The default output is in the JSON format, as shown below.

To get the output in the table format, use the below command.

PS C:\> az vm list-sizes -l eastus -otable

Output

Updated on: 2021-09-02T11:28:20+05:30

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements