Solved

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

Posted on 2009-05-18
5
1,055 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
[X]
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
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

740 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