Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

New-TagAssignment to duplicate tag name in multiple categories.

$
0
0

Looking for correct powercli 5.5 syntax for New-TagAssignment -Tag when trying to assign a duplicate tag name in two different categories. I am running the command New-TagAssignment -Tag "Distributed Applications" -Entity vm01 and I receive the error 'The specified parameter 'Tag' expects a single value, but your name criteria 'Distributed Applications' corresponds to multiple values'. The reason for this error is correct. I.E. I have Distributed Applications in these categories below.

 

Name Category Description
---- -------- -----------
Distributed Applications ApplicationOwner
Distributed Applications ServerOwner

 

What is the correct syntax for New-TagAssignment -Tag to assign Distributed Applications out of the category "ServerOwner" to the -entity vm01?   If this question has already been asked, please refer me to the answer.  Thank you.


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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