Skip to content

Instantly share code, notes, and snippets.

@gpduck
Created January 29, 2015 23:21
Show Gist options
  • Save gpduck/3590063df45e193c4652 to your computer and use it in GitHub Desktop.
Save gpduck/3590063df45e193c4652 to your computer and use it in GitHub Desktop.
Get-TagAssignment Bug
$VMHost = "yourhost"
New-TagCategory -Name "TestCat"
New-Tag -Name "TestTag" -Category "TestCat"
New-VM -Name "test/tag" -vmhost $VMHost
New-TagAssignment -Tag TestTag -Entity "test/tag"
Get-TagAssignment -Category "TestCat" | %{$_.entity} | fl
@PowerCLI
Copy link

We have logged this bug. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment