Solved

Delete TotalDeletedItem in Users' Online archive only

Posted on 2013-06-05
5
389 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
  • 3
5 Comments
 
LVL 40

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
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 an Address List 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 Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

713 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