Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Re: Get-VM | Get-TagAssignment

$
0
0

Sorry yes I see the problem, you are setting the tag information to $Tag, but trying to call with it with $_ which is using the current VM object in the foreach loop.

 

Use this line instead.

 

$Report.Tag = $Tag.Tag.Name


Viewing all articles
Browse latest Browse all 168455


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>