Powershell Functions for tags

Some quick powershell functions for tags in ESXi enjoy: #add tag to vm function add_tag_to_vm($VM, $TAG) { Get-VM –Name $VM | New-TagAssignment –Tag $TAG } #Add a tag to all virtual machines in folder function[…]

Continue reading …