- 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 all the available azure VM images using Azure CLI in PowerShell?
To get all the available azure VM images using Azure CLI, you can use the command az vm image.
The below command will retrieve all the available azure images in the marketplace.
PS C:\> az vm image list --all
The above command will take some time to retrieve the output. To get the output into the table format, use the below command.
PS C:\> az vm image list --all -otable
To retrieve the images from the particular location, use the -l or --location parameter.
PS C:\> az vm image list -l eastus -otable
Output
To get the VM images from the specific publisher,
PS C:\> az vm image list -l eastus -p MicrosoftWindowsServer --all -otable
Advertisements