Exporting legacydn - importing X500 address
Posted on 2014-04-06
I'm not a scripting guy so I hope you can help me out with my task.
We are performing migration of 1000 mailboxes from Datacenter A to Datacenter B.
Each DC is with Exchange 2010SP3.
Problem is that I need to lookup for each account own LegacyDN in the first Active Directory and add it to the new account as X500 address.
If either of you can help me with this it will be great.
Basically, I need to have a script that export all the legacyDN of users based on their smtp address (Alias won't work, there are multiple users with the same alias) from the first site, and another script (or command) that will allow me to create X500 addresses to the same users on the new site using the output from the first script.
So, any help here will be very much appreciated.