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

Re: Get-VM | Get-TagAssignment

$
0
0

Hi,

Move the line

$Tag = $VM | Get-TagAssignment

below the line

$VM = $_


The variable $VM doesn't exist until the line $VM = $_


Then replace

$Report.Tag = $_.Tag

By

$Report.Tag = $Tag.tag



Viewing all articles
Browse latest Browse all 168455

Trending Articles



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