Check All Virtual Machine Sizes for All Azure LocationsCheck All Virtual Machine Sizes for All Azure Locations

Check the virtual machine sizes available at each Azure location.

John Savill

October 6, 2014

2 Min Read
Azure virtual machine

Q: How can I see the virtual machine sizes available at each Azure location?

A: The following PowerShell code outputs a table of each Azure location and the virtual machine sizes that are supported at that location. You need to have the Azure PowerShell cmdlets installed.

$azurelocations = Get-AzureLocation$out = @()foreach ($location in $azurelocations){    $VMSizes = $location.VirtualMachineRoleSizes    $VMSizesStr = $VMSizes -join ', '    $props = @{        Name = $location.Name        VMSizes = $VMSizesStr}    $out += New-Object PsObject -Property $props}$out | Format-Table -AutoSize -Wrap Name, VMSizes

The following is example output:

PS C:> $out | Format-Table -AutoSize -Wrap Name, VMSizesName             VMSizes ----             ------- South Central US A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 Central US       A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 East US 2        A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 East US          A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 West US          A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 North Central US A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 North Europe     A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 West Europe      A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 East Asia        A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 Southeast Asia   A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 Japan West       A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13,                  Standard_D14, Standard_D2, Standard_D3, Standard_D4 Japan East       A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small Brazil South     A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like