Resource Group and Virtual machine

Nadeem Hussain Joo 21 Reputation points
2021-01-23T09:22:38.827+00:00

Dear All

I have joined company who are using 10VM's and have created only 1 Resource Group for all. I want to know configuration of all these machines like OS, SIZE,DISK SIZE etc and want to export these things in Excel . csv file inorder to avoid any mistake by manually going to every machine.

Any support from community is highly appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,586 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 104K Reputation points MVP
    2021-01-23T09:39:43.33+00:00

    There are a "few" PowerShell scripts around to get this done:

    https://gallery.technet.microsoft.com/scriptcenter/Azure-ARM-VM-Inventory-57ba01b7
    https://christoph.vollmann.co/2020/02/export-your-azure-inventory-as-csv-files/
    https://gist.github.com/marckean/0d35d11b112f44313a440df10d1ff152
    https://github.com/manjunathrao/manjunathrao-blog/blob/main/PowerShell/Get-AzInventory.ps1

    Maybe one of these fits your requirement or is a good start to customise to your needs.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments