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

Re: PowerCLi Script loops

$
0
0

The script looks ok.

 

From your previous script run output I deduce that the TagCategories are all already there.

But the Tags in those TagCategories apparently not.

Can you check with

Get-TagCategory

Get-Tag

 

And can you

  • do a trial run with a smaller CSV file. Perhaps 4 or 5 rows. This to better see what is happening.
  • remove the pipe to Out-Null on the New-TagAssignment line. This might be hiding some messages from the cmdlet.

 

New-TagAssignment-Entity $($_.Name) -Tag$tTag


Viewing all articles
Browse latest Browse all 230613

Trending Articles



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