Solved

Delete TotalDeletedItem in Users' Online archive only

Posted on 2013-06-05
5
397 Views
Last Modified: 2013-07-28
I'd like to purge the TotalDeletedItems in my online archive for users since they are growing rather large and I don't plan on recovering items from archive mailboxes.  The command to run for regular mailbox is:


Search-mailbox -identity "name" -SearchDumpsterOnly -DeleteContent

There does not seem to be a switch for -archive?
0
Comment
Question by:ITMASTER68
[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
5 Comments
 
LVL 41

Expert Comment

by:Adam Brown
ID: 39223988
try this:

get-mailbox <name> -archive | search-mailbox -searchdumpsteronly -deletecontent
0
 
LVL 4

Expert Comment

by:Jeffery Hayes
ID: 39224000
Does the mailbox have single item recovery enabled?
Get-mailbox smtp | fl *item*
 If yes please note your need to disable  this first.

Set-mailbox smtp -singleitemrecoveryenabled $false

For more details see the following url

http://technet.microsoft.com/en-us/library/dd298173(v=exchg.141).aspx
0
 

Author Comment

by:ITMASTER68
ID: 39226762
The command :
get-mailbox <name> -archive | search-mailbox -searchdumpsteronly -deletecontent

this worked but also deleted totaldelteditems form both regular mailbox and archive.. I just need it to remove from archive?
0
 

Accepted Solution

by:
ITMASTER68 earned 0 total points
ID: 39259678
I had to use the MFCMAPI approach and cleanup each individual Archive recoverable folder.  not pretty but effective, have lots of whitespace now :)
0
 

Author Closing Comment

by:ITMASTER68
ID: 39361489
this was the only solution that removed dumpster content from archive Mailbox
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses
Course of the Month5 days, 19 hours left to enroll

627 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