*** I’M NO LONGER MAiNTAINING THIS BLOG, SO PLEASE CHECK MY NEW ONE: http://msmvps.com/ehlo/category/1456.aspx ****
So far, these are the known issues with the script:
#1- Hidden DLs won’t migrate
Solution 1: unhide all objects before running the script
Solution 2 (not tested yet): try an LDAP filter on the LDIFDE command. Modify the command after the -r switch:
[…] -r "(&(objectClass=groupOfNames)(msExchHideFromAddressLists=TRUE))" […]
You can find more information about LDIFDE in the following KB article:
"Using LDIFDE to Import and Export Directory Objects to Active Directory", http://support.microsoft.com/kb/q237677/
Then you can use the same filter with CSVDE.
Of course you’ll have to run the commands outside the script.
#2- You get an empty file when you run the CSVDE command
Solution 1: modify the LDAP properties on Exchange 5.5, so that you can search more than the default number of items
Solution 2: run the CSVDE command directly on the Exchange 5.5 server (only supported on Windows 2000 Server).
#3- You cannot run the CSVDE command
Solution 1: check the permissions. Are you using an NT account with the propper permissions?
Solution 2: integrate WINS. Try replicating the WINS information from the NT domain to your current WINS server. You might prefer using an lmhosts file.
Solution 3: run the CSVDE command directly on the Exchange 5.5 server (only supported on Windows 2000 Server), then copy the file to server where you’re running the script.
Solution 4 (not tested yet): try to do a directory export using Exchange Admin. Make sure you have the following fields:
Take a look at Q155414 and Q261112 articles for an explanation on how to select field headers.
Any feedback about these issues is welcome. You can reach me by posting a comment here, or by the email address provided inside the script.