Get all of the IP addresses of Hyper-V VMs.
foreach ($vm in $(Get-VM)) { "Name = $($vm.Name); IP = $($vm.NetworkAdapters.IPAddresses)" }
Get all of the IP addresses of Hyper-V VMs.
foreach ($vm in $(Get-VM)) { "Name = $($vm.Name); IP = $($vm.NetworkAdapters.IPAddresses)" }
Pingback: Get the IP addresses of Hyper-V VMs, part 2 – Kenwardtown