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.
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.
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.
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.
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.