Solved

Can I move messages from one Exchange mailbox to another?

Posted on 2007-12-04
4
4,854 Views
Last Modified: 2008-10-14
We have several "dummy" accounts in our exchange server that simply forward mail to another user. After a recent database recovery the forwarding for these accounts was removed and mail started going into them. I would like to move or copy all the messages in the "dummy" mailbox to another users mailbox. A management shell option would be the best. (Please don't suggest that I log into the accounts and manually forward them. Thats my plan B.) Maybe a script that exports messages from one account and imports them into another?
0
Comment
Question by:icsbudapest
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
trturner123 earned 500 total points
ID: 20403735
There are a number of options you can use with the command, but the basic shell structure is:

Export-mailbox -id usermailbox  -TargetFolder 'ExportedData' -TargetMailbox usermailbox2

Would export everything in usermailbox to a folder called ExportedData in usermailbox2.  You can use various filters with it too (like filter by date or subject, etc).
0
 

Author Comment

by:icsbudapest
ID: 20409774
Thanks for the help. I wasn't yet familiar with that commandlet. The only trouble I am having now is it will not export to an inbox and it will not create a new folder. Here is the exact message for the inbox problem:

Status Message: The target folder 'Inbox' is a special folder of target mailbox 'mailbox name' and is not supported by this command.

 Is there any way to get around this and put them in the users inbox? If not I assume there is a cammandlet that would let me create a folder in a mailbox.
0
 
LVL 3

Expert Comment

by:trturner123
ID: 20412208
It's my understanding that the second level folder has to exist prior to attempting the export.  Additionally, the commandlet is limited to only being able to use a second level folder (as you've already noticed by the fact that you can't export to Inbox).  The last word I saw from the Exchange developer's team was basically "that's just the way it is".

I know some additional features were added to the commandlet with SP1 (such as the ability to export to a PST file like exmerge could) but I haven't installed it yet so I can't really speak to that.

Here's the Exchange Team's Blog on exporting - maybe it'll help further by giving more examples.
http://msexchangeteam.com/archive/2006/11/28/431669.aspx
0
 

Author Comment

by:icsbudapest
ID: 20418052
OK, I may just need to create that subfolder then. I guess its still better then logging into the account and manually forwarding the mail. "Just the way it is" seems typical of exchange. Glad to hear though that they may be adding the .pst file export support. Maybe they do actually listen to system admins sometimes. I'll have to check that out. Thanks for your help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

757 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

23 Experts available now in Live!

Get 1:1 Help Now