I need a script to list all tags not used in vCenter, so I can delete them.
You could try something like this
Get-Tag | where{$usedTags -notcontains "$($_.Category)-$($_.Name)"}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You could try something like this
Get-Tag | where{$usedTags -notcontains "$($_.Category)-$($_.Name)"}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Just what I was looking for. Thanks