Solved

Empty out inbox

Posted on 2013-01-16
6
265 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
[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
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AddressList in EXCH2013 6 40
Unable to Send As mailbox user - Office 365 3 57
Mailbox Permissions O365 5 58
Powershell command to propagate Inbox subfolders 4 33
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…
This video discusses moving either the default database or any database to a new volume.

752 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