I need to do some work on the Hyper-V switches in my lab so need to see which VMs are on which switch.
Easier than I thought:
Get-VM |
Get-VMNetworkAdapter |
select VMname, Name, Switchname
I need to do some work on the Hyper-V switches in my lab so need to see which VMs are on which switch.
Easier than I thought:
Get-VM |
Get-VMNetworkAdapter |
select VMname, Name, Switchname