Does anyone have a way of retrieving the vlan ID from a portgroup in vSphere 5.5?
For some reason it looks like there's no way to drill down from a host object to a portgroup object; at best you can get a string array containing the *names* of the portgroups, but so far I've found no way of retrieving the actual portgroup.spec property.
Since it looks like this used to work I've assumed that this is actually a recent bug.
EDIT: I should specify that I'm talking about traditional vSwitch portgroups here, not dvSwitch ones.