ITMASTER68
asked on
Delete TotalDeletedItem in Users' Online archive only
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?
Search-mailbox -identity "name" -SearchDumpsterOnly -DeleteContent
There does not seem to be a switch for -archive?
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
Get-mailbox smtp | fl *item*
If yes please note your need to disable this first.
Set-mailbox smtp -singleitemrecoveryenabled
For more details see the following url
http://technet.microsoft.com/en-us/library/dd298173(v=exchg.141).aspx
ASKER
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
this was the only solution that removed dumpster content from archive Mailbox
get-mailbox <name> -archive | search-mailbox -searchdumpsteronly -deletecontent