VCenter: 7.0.3 24322018
Hello,
for our Backupsystem we use some Tags for VMs in our VCenter. This works for years. Now i changed the tag for a VM from "high" to "medium" and was suprised that a query by powershell still delivers old data.
By querying VMs based on the old tag i still get the vm which ist not really tagged with "high" any more.
Get-VM –Tag High
MyVM ...
by querying VMs based on new tag i get also this VM.
Get-VM –Tag Medium
MyVM ...
The other way ist to get vm and query all tags. in this case it delivers "medium", which is right.
Get-VM -Name MyVM| Select Name,@{Name="Tags";Expression={(Get-TagAssignment -Entity $_).Tag.Name}} | Where {$_.Tags} | Format-Table -Autosize
So i think the query from Tag to VM is wrong. our backupsystem also get this wrong data and MyVM is backuped in branch "high" and branch "medium" too.
Does anybody knows how to fix this?
Thank you,
Hans