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

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 201745

Trending Articles