Need help to extract all VMs in Azure

Copper Contributor

Hello all,

 

I'm trying to export the complete list of all my VMs in Azure. Iv'e tried with Azure Ressource Graph but i can't find the right way to do it.
My export should display a lot of information, but especially the total number of disks, their capacities, and the VM's RAM. That's mainly what's giving me trouble; I can only get the VM size to appear (for example, Standard_D2s_V3). Can someone help me?

Thanks !!

1 Reply
I will share with you a PowerShell script that generate a complete inventory of your azure resources and export it to an excel sheet.

https://github.com/microsoft/ARI

Please mark this answer as accepted if its answer your questions.