Forum Discussion
AChopra1012
Jan 17, 2023MCT
Need to get a list of VMs with their domains.
Hi Team, We Need to get a list of VMs along with their domains using KQL script. Can someone please help on this? We have over 100 subscriptions across our estate. Thanks
AChopra1012
Jan 17, 2023MCT
Hi Team,
Could you kindly assist on this?
Thanks in advance!!
Could you kindly assist on this?
Thanks in advance!!
- DarrenRDJan 17, 2023Copper Contributoryou can get VM list from the azure portal , select all resources from the home page and filter subscription == all and type equal virtual machine
or for KQL compile a query as per link below
https://www.geeksforgeeks.org/microsoft-azure-getting-vmcomputer-records-properties/