How to use Azure Resource Graph with PowerShell
-
Getting comprehensive information on each and every virtual machine (VM) is a pain. To make things easier, Microsoft introduced Azure Resource Graph. You can now use a simple PowerShell script and receive contextual VM data at scale across your given set of subscriptions. No need to surf through every single one separately anymore.
Read the short guide by Nicolas Prigent, a three-time Microsoft MVP, on how to use PowerShell with Azure Graph API to get all the information on your VMs that you need.