Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to get the Azure VM available sizes using PowerShell?
To get the Azure VM sizes using PowerShell, we can use the Get-AzVmSize command.
To get all the supported Azure VM sizes as per location, use the below command.
PS C:\> Get-AzVMSize -Location Eastus
Output

To get available and supported size for the existing virtual machine, use the below command.
Get-AzVMSize -ResourceGroupName ResourceGroup1 -VMName TestVM
Advertisements
