kicktech
asked on
Export mailboxes from exchange 2003 to exchange 2007 using powershell, error -1056749164
I am sorry if I do not detail this question enough. Please let me know if you need more.
I am trying to export mailboxes from exchange 2003 to exchange 2007 using powershell. I have two machines setup that are 32bit xp. One machine is on the first domain, and the second machine is on the second domain. I have successfully exported pst files from the first domain. And successfully imported them to the second domain. However when i go to do a updated export with date ranges, to a new pst file with the command:
get-mailbox -organizationalunit "company1" | export-mailbox -startdate "05/17/2009" -pstfolderpath e:\pstfiles\am2
I get errors that are in the log file. The MAPI error -1056749164 is the one I cant find out what is going on.
I have checked the rights on the mailboxes, I am exporting from the user I am using has fullaccess to the mailboxes.
So to clarify, I export the group of mailboxes from the exchange 2003 box to pst files. then take the files and import them to the exchange 2007 box. This will all work fine until i try and do a date range export of what has changed since my first import.
It will give a few errors, I have included the log in the attachment.
If the date range will not work for exchange 2003 using exchange 2007 tools, that is fine. I can do another large export and merge them in to the new exchange server. I just would like to avoid the 9 hour export.
Also I am on exchange 2007 update rollup 7.
export-Mailbox-error.log
I am trying to export mailboxes from exchange 2003 to exchange 2007 using powershell. I have two machines setup that are 32bit xp. One machine is on the first domain, and the second machine is on the second domain. I have successfully exported pst files from the first domain. And successfully imported them to the second domain. However when i go to do a updated export with date ranges, to a new pst file with the command:
get-mailbox -organizationalunit "company1" | export-mailbox -startdate "05/17/2009" -pstfolderpath e:\pstfiles\am2
I get errors that are in the log file. The MAPI error -1056749164 is the one I cant find out what is going on.
I have checked the rights on the mailboxes, I am exporting from the user I am using has fullaccess to the mailboxes.
So to clarify, I export the group of mailboxes from the exchange 2003 box to pst files. then take the files and import them to the exchange 2007 box. This will all work fine until i try and do a date range export of what has changed since my first import.
It will give a few errors, I have included the log in the attachment.
If the date range will not work for exchange 2003 using exchange 2007 tools, that is fine. I can do another large export and merge them in to the new exchange server. I just would like to avoid the 9 hour export.
Also I am on exchange 2007 update rollup 7.
export-Mailbox-error.log
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
when you run another export and then import it back to the exchange 2007 box, the info store will merge the emails and will delete any duplicate emails. Nothing to worry.
ASKER
Thanks for your help. Great response time.
ASKER
Thank you for your help with this problem.
ASKER
Would using the -allowmerge command create duplicates when I went to import these to the exchange 2007 box?
How I understand merging mail is it will take the newest one and only keep one of the items.