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

NAMEWITHELD12
NAMEWITHELD12 used Ask the Experts™
on
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


thanks
Comment
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
Commented:
Powershell

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:-

http://dthomo.wordpress.com/2013/07/19/create-a-csv-of-port-group-names-and-vlan-ids-for-both-standard-and-distributed-vswitches/

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