We have began to use TAGs.
All of our VM's have at least 1 TAG.
I am attempting to read the TAG via PowerCli.
When I run the following Powershell command it should list all of the TAGs, but all VM's are returned with no TAG.
Get-VM | Select Name,@{N="Tags";E={((Get-TagAssignment -Entity $_ | select -ExpandProperty Tag).Name -join ",")}}
This is just testing, my requirement is to read a specific TAG from a given VM.
The TAG has a category Jim Code