Solved

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

Posted on 2009-05-18
5
1,053 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Find out what you should include to make the best professional email signature for your organization.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

772 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