migrate tags between venters

I am planning to migrate vmware hosts with virtual machines from one vcenter server to another vcenter server.
All tags that is used need to be transferred also.
Could you tell me how to export tags from one vcenter and import them in another venter, any good and tested script.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is a discussion here on the VMware Community forums, and a script from LucD

dedriAuthor Commented:
as i see from this script, it only export tag category so they can be created in the new vcenter server.
I am interested in moving vmhosts and virtual machines between old vcenter to the new one and also moving all tags assigned to virtual machines, so they can appear in the new vcenter. Do you know script that can do this.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.