Solved

Export mailboxes from exchange 2003 to exchange 2007 using powershell, error -1056749164

Posted on 2009-05-18
5
1,051 Views
Last Modified: 2012-05-07
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
Comment
Question by:kicktech
  • 3
  • 2
5 Comments
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 500 total points
Comment Utility
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
 

Author Comment

by:kicktech
Comment Utility
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
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
Comment Utility
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
 

Author Comment

by:kicktech
Comment Utility
Thanks for your help.  Great response time.
0
 

Author Closing Comment

by:kicktech
Comment Utility
Thank you for your help with this problem.  
0

Featured Post

The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now