Script to collect from all VM adapters – portgroup (network), VLAN ID, subnet mask, gateway address

This post was originally published on this site

This info is not all in one place, which adds to the complexity. I need to gather from all VM’s info on all adapters portgroup and I need the VLAN ID, the gateway address, and the subnet mask. The reason for this is we want to gather portgroup info about both VLAN and network (subnet and gateway).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.