Summary: Use the Azure Resource Manager cmdlets to get the proper name for a virtual machine size.
Is there a way to see the proper name for a virtual machine size without creating a virtual machine first?
Just use the Get-AzureRMVMSize cmdlet, and filter on the Name property. You just need to supply a location first. In this example, we are looking at available sizes in the ‘eastus’ location that have ‘S2’ in the name.
Get-AzureRMVMSize –location ‘eastus’ | Where-Object { $_.Name –match ‘S2’ }