Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (13.1k points)
I was trying to retrieve the VM name and VM size using a PowerShell script, but it is returning only the VM name but not the size. Any idea how I can able to do that?

1 Answer

0 votes
by (26.7k points)

So, basically VM size is pulled by hardware profile. You can try with this:


I hope this will work.

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

Related questions

Browse Categories