Hello,
I would like to get the list of dv-portgroups from vCenter 5.0 which is associated to a particular dv switch. Can anybody guide me how we can get it.
Also is there anyway to get a list of the vSphere network (portgroups) in vCD's with its external networks or port groups alone.
Let me know is there any possible ways with samples if anybody has.
Thanks
If you have vmware power cli installed try the below command to list the dvport group in dvswitch,
if you have multiple dv switch and pull the portgroup information of particular dv switch try the below.
#connect-viserver (vcservername)
#get-virtualswitch -name (name of dvs switch) | get-virtualportgroup
if you only on dv switch, use the below will list all the available port group.
#get-virtualportgroup
Please have a look..
Regards,
Milton
If you have vmware power cli installed try the below command to list the dvport group in dvswitch,
if you have multiple dv switch and pull the portgroup information of particular dv switch try the below.
#connect-viserver (vcservername)
#get-virtualswitch -name (name of dvs switch) | get-virtualportgroup
if you only on dv switch, use the below will list all the available port group.
#get-virtualportgroup
Thanks!