Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1064
  • Last Modified:

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
0
kicktech
Asked:
kicktech
  • 3
  • 2
1 Solution
 
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
export and import cmdlets are fully supported only in 2007 and hence I would say that you will have to go for a full export and then import it back to 2007 mailbox.
0
 
kicktechAuthor Commented:
That is what i was afraid of.  I have been happy I can export to pst with exchange 2003.  Just didn't want to run another export.  

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.
0
 
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
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.
0
 
kicktechAuthor Commented:
Thanks for your help.  Great response time.
0
 
kicktechAuthor Commented:
Thank you for your help with this problem.  
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now