VMware Cloud Community
Keith_152
Contributor
Contributor

How to tag a folder full of VMs?

I have a bunch of test VMs that I want to tag as "test" so I can move them all to slower storage. I put them into a folder called "test" and set a tag on that folder but it doesn't seem to trickle down to the individual VMs. I feel like I'm missing something obvious. Surely I don't have to go to each VM individually?

Trying to manage a fiasco of tracking information in our environment, we're attempting to start using Tags to track Windows Datacenter edition licenses by attaching them to the host. Anyone else done something like this? Other ideas?

 

 

sky light pay card

Reply
0 Kudos
1 Reply
zdzumbaugh
VMware Employee
VMware Employee

Tags are not propagated to child objects. They are applied only to the object you set the tag on. You can select a group of VMs and apply a tag to all of them at once or use PowerCLI.

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-379F40D3-8CD6-... - assigning tags

https://developer.vmware.com/docs/powercli/latest/products/vmwarevsphereandvsan/categories/tag/ - PowerCLI tag commands

Reply
0 Kudos