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
Solved

Can I move messages from one Exchange mailbox to another?

Posted on 2007-12-04
4
4,975 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a mailbox database 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 Servers >> Data…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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