I had to find all how much memory consumed certain VMs from my clusters and Hyper-V hosts with specific IP address range.
It’s rather simple task:
- Step 1 - Get all VMs from all Hyper-V hosts
- Step 2 - Query VMNetworkAdapter for specific IP address
- Step 3 - Select interesting properties