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

x
?
Solved

Empty out inbox

Posted on 2013-01-16
6
Medium Priority
?
268 Views
Last Modified: 2013-01-29
I was running exchange 2003 but the server was having problem so i export mail and moved to hosted exchange. Now that i have setup exchange 2010 and now ready to import mailboxes back down. Is there a away to empty out mailbox before i export mail down from hosted exchange? The exchange 2003 and exchange 2010 are both on the network and can talk to each other.
0
Comment
Question by:officertango
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:coraxal
ID: 38785670
Not sure if I understand your goal...but if you're trying to empty a mailbox, you can use Exmerge for Exchange 2k3 or Export-Mailbox for 2k7/2010 with the delete parameter.
0
 
LVL 15

Expert Comment

by:Rajkumar-MCITP
ID: 38785729
To delete a inbox contents from a mailbox

Export-Mailbox -Identity "that Mailbox Name" -IncludeFolder "\Inbox" -DeleteContant

Note: that will delete the whole content, make sure you want it for future or not

and to import

Import-Mailbox -Identity mailboxemailaddress -PSTFolderPath C:\PSTFilesname.pst
0
 
LVL 15

Expert Comment

by:Rajkumar-MCITP
ID: 38785742
If it is a exchange 2003 mailbox from which you want to empty the mailbox...

Give full access permission to your account on that particular mailbox ->from your outlook add that mailbox as additional mailbox ->create a pst file and move the content from that mailbox to pst file
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

Author Comment

by:officertango
ID: 38785951
I was hoping not having to move folders with outlook to clear the inbox. Hopingbto do from server level.
0
 

Author Comment

by:officertango
ID: 38785954
Does export still leave copy on server, thought export still leave copy on server. I know outlook client feature of export does. Is there another export from server?
0
 
LVL 15

Accepted Solution

by:
Rajkumar-MCITP earned 1500 total points
ID: 38786333
If you want delete all the content from server side for the mailbox that is available in Exchange 2010, you can run the below shell command. It will delete the contents.

Export-Mailbox -Identity "that Mailbox Name" -IncludeFolder "\Inbox" -DeleteContant

Above will delete all the contents only from inbox, if you remove -IncludeFolder "\Inbox" then whole mailbox will be delete

Please inform if any details needed
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

971 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