Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

creating and assigning tags in vCenter through vCO

$
0
0

VMware is moving away from custom attributes and toward the categories and tags.  currently vCO has vCenter workflows for creating custom attributes, however, I have not found anything on automating the creation and assignment of tags with virtual machines.

 

ultimately, I would like to specify the category via vCAC at time of provisioning.  tag could be billing dept. and the response either if tag exists (ie Engineering) then it would associate the tag (engineering) to the category (billing dept).  However if the tag doesn't exist, then a new tag would be created and associated to the VM.

 

thoughts?

 

PowerShell commands

Since VMware PowerCLI version 5.5R1 and up there are a number of commands available to work with tags, such as:

  • Get-Tag
  • New-TagAssignment

Viewing all articles
Browse latest Browse all 3691

Trending Articles



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