Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2009-05-18
5
1,054 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
ID: 24412637
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
ID: 24412738
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
ID: 24413354
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
ID: 24413375
Thanks for your help.  Great response time.
0
 

Author Closing Comment

by:kicktech
ID: 31582620
Thank you for your help with this problem.  
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

789 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