I am migrating hosts and virtual machines between vcenter servers. I need to migrate also annotations(custom attributes).
I tried to use this script https://www.haigmail.com/2011/09/27/how-to-copy-custom-attributes-when-migrating-vmware-vcenter-to-new-database/
Export scripts is working, but when I try to import i receive an error message, after execution powercli gives an error message saying Set-CustomField is obsolete.
Could you provide me with a solution how to migrate custom fields between vcenter servers