Bug?
I've tried uninstalling/reinstalling PowerCLI. V6.3 and 6.5 were installed on the same computer but at different times.
Thanks!
---
This works with PowerCLI 6.3 3737840
PowerCLI C:\> Get-VDPortgroup VLAN_xxx_VDS | Get-TagAssignment -Category IPSubnet
Tag Entity
--- ------
IPSubnet/1.1.0.0/16 VLAN_xxx_VDS
With PowerCLI 6.5 4624819, we get the following error. This seems to be independent of the vCenter server version (fails with V5.1 and V6.0)
PowerCLI C:\> Get-VDPortgroup VLAN_xxx_VDS | Get-TagAssignment -Category IPSubnet
Get-TagAssignment : 2017-01-20 2:59:31 PM Get-TagAssignment There is no registered provider that supports the specified UID type.
At line:1 char:32
+ Get-VDPortgroup VLAN_xxx_VDS | Get-TagAssignment -Category IPSubnet
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (/VIServer=edc-n...vportgroup-141/:String) [Get-TagAssignment], VimException
+ FullyQualifiedErrorId : Sdk_CoreServiceImpl_GetProviderForUid_NoProviderFound,VMware.VimAutomation.ViCore.Cmdlets.Commands.Tagging.GetTagAssignment