- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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