header image

Hyper-V switches

Posted by: | June 29, 2018 Comments Off on Hyper-V switches |

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

under: Hyper-V, PowerShell

Comments are closed.

Categories