VMWARE : how can export a list of VLAN and networks on a VMWARE vDS ?

NAMEWITHELD12 used Ask the Experts™
I need to export a list of port groups on a VDS ( virtual distributed switch )  how can I do this ? I need to export the networks and VLANS of each port group on the switch

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Get-VDPortgroup | Select Name, VirtualSwitch, Datacenter, VlanConfiguration, NumPorts, PortBinding

Open in new window

VMware PowerCLI and PowerShell is the Answer, see this link for a nice script which does it:-


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial