Using tags

Tags are labels that you can attach to objects in the vSphere inventory. Every object can have zero, one, or many tags attached. You can use tags to group objects based on anything you want.

For example, you can create a John Doe tag that specifies the owner of a virtual machine is John Doe. Using the John Doe tag, you can easily find all of the virtual machines owned by John Doe.

Tag categories are used to group related tags together. Every tag must belong to a tag category. At the creation of a tag category, you can specify to which object types the tags in this tag category can be attached. You can also specify if only one, or more than one, tag in the tag category can be attached to an object.

Continuing the preceding example, you ...

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.