Empty out inbox

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.
officertangoAsked:
Who is Participating?
 
Rajkumar-MCITPCommented:
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
 
coraxalCommented:
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
 
Rajkumar-MCITPCommented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Rajkumar-MCITPCommented:
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
 
officertangoAuthor Commented:
I was hoping not having to move folders with outlook to clear the inbox. Hopingbto do from server level.
0
 
officertangoAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.