• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

how to delete mailbox content (all current emails in queue) from the ems or the emc.

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> Management >> how to delete mailbox content (all current emails in queue) from the ems or the emc. Page: [1]
Login
Message << Older Topic   Newer Topic >>
how to delete mailbox content (all current emails in qu... - 23.Jan.2012 11:45:59 AM   
arcolino

 

Posts: 21
Joined: 10.Mar.2002
From: marietta
Status: offline
hello, I have an email account that has high volume of emails. The client is in a bad loop meaning the mailbox is 2 gigs, I increased to 4gigs but it will not take affect till the client sync with the server, it is unable to catch up due to the heavy volume (client trying to catch up take very long time and when I try to autoarchive or setup pst file it hangs) I was researching and found there is a command I can use to delete mailbox content (delete all the emails for that account) and its done in the ems. I tried this command but keep getting errors get-mailbox errormails | export-mailbox - delete content

it seems my syntex is missing something, I keep getting errors. please let me know what the exact command is to delete emails from the exchange server for that account. or another way to do it in the emc if possible? also what is a good command reference guide for the shell. Thank you for your help.
Post #: 1
RE: how to delete mailbox content (all current emails i... - 23.Jan.2012 12:34:03 PM   
RustyShackleford

 

Posts: 217
Joined: 13.Jan.2010
Status: offline
Did you fix the message loop yet? If not, that is the first thing you want to do. I had a message loop before and all i needed to do is create a transport rule to silently drop the message based on sender and subject. I restarted the Exchange transport service on the HT servers so the rule takes effect immediately.

(in reply to arcolino)
Post #: 2
RE: how to delete mailbox content (all current emails i... - 23.Jan.2012 12:40:15 PM   
arcolino

 

Posts: 21
Joined: 10.Mar.2002
From: marietta
Status: offline
when I said message loop, I mean so much emails wants to come in the client cant keep up, I increased the mailbox to 4 gigs but it will not take affect till the client the mailbox are in sync. touch getting them in sync when more mail keeps coming in, is there a way to stop all mail for that account or something? is there a way to get the mailbox back to where it is suppose to be quickly? I took the client of line deleted all the mail in the inbox and the delete folder, and when I put it back on line it tries to catch up which takes a very very long time. There should be a way to reset the account to forget everything and start from this point.

(in reply to RustyShackleford)
Post #: 3
RE: how to delete mailbox content (all current emails i... - 23.Jan.2012 1:19:21 PM   
RustyShackleford

 

Posts: 217
Joined: 13.Jan.2010
Status: offline
I would still recommend focusing on the root of the problem. Is the mailbox supposed to receive that much email? Is the mailbox still receiving that volume of email? Do you know the source(s) of the emails?

Here are few options:
1) create a transport rule to drop all messages for the mailbox
2) create a new managed folder mailbox policy to deleted items after a specific period of time. Assign your problem mailbox to that managed folder mailbox policy.
3) Yes. You could delete (disassociate) the mailbox for the AD account then create a new empty mailbox.

(in reply to arcolino)
Post #: 4
RE: how to delete mailbox content (all current emails i... - 30.Jan.2012 10:14:40 PM   
Marshal

 

Posts: 61
Joined: 19.Sep.2011
Status: offline
Hi,

Use the Search-Mailbox cmdlet to search a mailbox and copy the results to a specified target mailbox, delete messages from the source mailbox, or both. And another way also possible as discussed by you: shell command In Microsoft Exchange Server 2010, you can use Multi-Mailbox Search to create a discovery search. You can remove a discovery search at any time. When you remove a discovery search, than search results removed from the discovery mailbox.

(in reply to arcolino)
Post #: 5

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> Management >> how to delete mailbox content (all current emails in queue) from the ems or the emc. Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter