Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can I move messages from one Exchange mailbox to another?

Posted on 2007-12-04
4
Medium Priority
?
5,209 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video discusses moving either the default database or any database to a new volume.

715 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