Quantcast
Viewing all articles
Browse latest Browse all 175326

New-TagAssignment with tags in multiple categories

We have some tags that are in multiple categories. For example a tag with the name 'Test' might be in the 'Owner' category and the 'Creator' category.

 

When I try to assign one of these tags that exist in multiple categories using 'New-TagAssignment' I get "The specified parameter 'Tag' expects a single value but your name criteria responds to multiple values"

 

Is there a way to specify with category to assign the tag from? i.e. Tell it to assign the 'Test' tag from the 'Owner' category? I tried adding -Category "Created By" to the command but it said the parameter couldn't be found.

 

Example of the code is below:

 

New-TagAssignment -Tag $creator -Entity $vName | Out-Null


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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