How to list VMs by the virtual network they are connected to

This is from an internal question I replied to. This is a simply script given as a starting point that can be extended. ———————————————————————————————————————————- I have a host that has 4 physical network cards, 3 of which are mapped to virtual switches that are External.   I would like to, programmatically,   (1)    get these…

0