export configuration from old venter 5.5 to new venter 6.5

I have windows venter server 5.5 and drs rules configured on it. I installed a new VCSA 6.5. I plan to migrate hosts from old vcenter to the new one.
One of the things that I want to move is a DRS rules. Could you tell me is there any way to export this drs rule and import them in new venter server.
Except the drs rule could you tell me what else I need to consider to export and import in new venter server, also how to do it.
I don't want to use the migration assistant, so do not propose this as a solution.
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 now real easy method to Export the rules, and Import the rules into VCSA 6.5.

If you have both servers online, why not connect to both vCenter Servers and two different screens, and just quickly re-create the rules ?

Because with a new vCenter Server 6.5, you will need to re-create

1. Datacentre
2. Cluster
3. Enable HA
4. Enable DRS
5. Maybe enable EVC

Do you use Distributed Switches?

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
dedriAuthor Commented:
no, I don't use distributed switch.
The problem is that the vitrual machines are in the old venter server. It's not possible to create a rule in new vcetner server without them. If I move vms  to the new venter. virtual machines disappear in the old venter drs rules.
Also we have really a lot of drs rules, a lot of vm-tohost, a lot of anti-affinity group , etc. If it was easy to recreate them, I wouldn't ask for any solution how to automate it.
Do you know any working scripts that I can use for this task
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

dedriAuthor Commented:
sorry for my late reply. I tested the powercli command mentioned in this article and it does not work.
Get-Cluster -Name "MyCluster" | Get-DrsRule | Export-CliXml 'C:\scripts\drs.xml'
Only empty xml file is created with this information "<Objs Version="" xmlns="http://schemas.microsoft.com/powershell/2004/04" />"
I am using powercli version 10.1
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's working for me, here.

I'm using VMware PowerCLI 6.5 Release 1 build 4624819
dedriAuthor Commented:
I'll try with your version and give you feedback
dedriAuthor Commented:
ok, I found the problem with this script. Powercli version doesn't matter. It exports only keeptogether drs rules. Any vm should run to host rules are not exported in xml file.
Andrew, do you know any other working script that I can used to export all drs rules.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If the PowerCLI Get-DrsRule function does not work, and get all the rules, there are no other methods to obtain rules.
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
vmware vcenters

From novice to tech pro — start learning today.