Solved

Can I move messages from one Exchange mailbox to another?

Posted on 2007-12-04
4
5,150 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
[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
  • 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

630 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