![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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 list the azure VM extensions using Azure CLI in PowerShell?
To list all the azure VM extensions using Azure CLI, we can use the “az vm extension” command.
Before running this command make sure you are connected with the Azure cloud account and the Azure subscription. Once we run the command for the extension we need to provide the VM name and the resource group name as shown below.
PS C:\> az vm extension list --vm-name Win2k16VM1 -g TESTVMRG
The output will be in the JSON format, we can use the parameter -otable to get the output in the table format.
PS C:\> az vm extension list --vm-name Win2k16VM1 -g TESTVMRG -otable
Output
Advertisements