VMware Tags to VMs

This post was originally published on this site

Hello,

I have 3 different VMware Tags created in VMware

VM-Daily

VM-Weekly

VM-Monthly

 

My intention is assigning this ‘Tags’ to particular VMs.

I have 3 different txt files that has all the VMs name in it

C:VMs_ListDaily.txt

C:VMs_ListWeekly.txt

C:VMs_List Monthly.txt

 

Is it possible via a script that I can assign the VMware Tag ‘VM-Daily’ to all the VMs in the txt file ‘Daily.txt’  and ‘VM-Weekly’ to the VMs in ‘Weekly.txt’ and ‘VM-Monthly’ to the VMs in ‘Monthly.txt’ ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.