VMs from Cluster with given IP

less than 1 minute read


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

Leave a comment