Powershell – extracting VLAN IDs from the Hyper-V host

Lately I have been replicating live Hyper-V cluster configuration to the similar cluster in the DR. One of the things I had to do is to ask our networking guys to point the same VLANs to the DR servers. In our case VLANs are configured on the VMs adaper side, therefore for meΒ to collect all the VLANs I had to check every VM. Boring πŸ™‚

Continue reading