Hi,
is there a chance to filter out the uplink portgroups in the get-virtualportgroup when used on distributed switches (exept the name, which is not secure enough)? I can't find a definite property, not even in the extensiondata but I'm not an expert in browsing the API documentation either.
Any idea?
__Leo
I think the experimental means the use of tags by us users.
Internally vSphere is using tags, the uplink portgroup is just one example.
In my experience new features are most of the time categorised as experimental in the 1st generation.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I normally use the TAG property, that seems to work for me.
This shows that property
Get-VirtualPortGroup -Distributed |
Select Name, @{N="TAG";E={$_.ExtensionData.Tag[0].Key}}
And this shows the property in action in a Where-clause
Get-VirtualPortGroup -Distributed |
where {$_.ExtensionData.Tag[0].Key -match "UPLINK"} |
Select Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi Luc,
I've seen this as well, but I was insecure because of the description in the API reference: "...Experimental. Subject to change." I thought there mighte be somthinge more "reliable" 🙂
__Leo
I think the experimental means the use of tags by us users.
Internally vSphere is using tags, the uplink portgroup is just one example.
In my experience new features are most of the time categorised as experimental in the 1st generation.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference