I had to find some information about 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