Solved

Empty out inbox

Posted on 2013-01-16
6
259 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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 500 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now