Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Azure by (13.1k points)
Can anyone help me how can I able to figure it out that my VMs are in which generation? via Azure CLI?

1 Answer

0 votes
by (26.7k points)
edited by

So basically, VM under gen 1 means it is V1 whereas VM under gen 2 means it is for V2, you can try the below command to view the generation of your instances.

az vm get-instance-view -g <rg-name> -n <vm-name>

I hope this will work.

Want to become an Azure expert? join Azure Training now!!

Browse Categories

...