You can retrieve
existing tag categories defined in vSphere and save a specific tag category
into a variable.
Prerequisites
Verify that you are connected
to a
vCenter
Server
system.
Procedure
1 | Get the tag category
named
MyTagCategory.
Get-TagCategory -Name 'MyTagCategory'
|
2 | Save the tag category
into a variable.
$tagCategory = Get-TagCategory -Name 'MyTagCategory'
|