Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5266
  • Last Modified:

Can I move messages from one Exchange mailbox to another?

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
icsbudapest
Asked:
icsbudapest
  • 2
  • 2
1 Solution
 
trturner123Commented:
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
 
icsbudapestAuthor Commented:
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
 
trturner123Commented:
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
 
icsbudapestAuthor Commented:
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now