Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230200

Re: How Get VLAN ID with Get-VirtualPortGroup

$
0
0

Get-VirtualSwitch -Name MyDVSwitch | Get-VirtualPortGroup | `

Select Name, @{N="VLANId";E={$_.Extensiondata.Config.DefaultPortCOnfig.Vlan.VlanId}}

 

This has worked for me on vSphere 5.1. But does not pick up vlanid parameter on 4.1. Is that expected?


Viewing all articles
Browse latest Browse all 230200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>