So I have a question about the data being returned by my script and I hope someone can line me out pretty quickly.
This line of code '$az = (Get-tagassignment -Entity $Cluster -Category 'Availability Zone','OS License Enforcement')' is working and returns the correct amount of data but the data is presented as '$Cluster com.vmware.cis.tagging.TagAssociationModel com.vmware.cis.tagging.TagAssociationModel' , rather than what I really want which is the tag.
What am I missing here?