Exchange 2010 SP1 Purge

Posted on 2012-09-12
Last Modified: 2012-09-22
I want to purge a few e-mails from a users "purge" and when I do a search query the same e-mails still show up.
  I run the follow exshell  
1.get-mailbox <user> | search-mailbox -searchquery "From:''" -deletecontent -searchdumpsteronly -Force

2.just in case...
get-mailbox <user> | search-mailbox -searchquery "From:''" -deletecontent -searchdumpster -Force  

Then I do a search to make sure...

get-mailbox <user> | search-mailbox -searchquery "From:''"
 -searchdumpsteronly -Targetmailbox "Discovery search Mailbox -Targetfolder "Inbox"

I am trying to avoid deleting the dumpster altogether.

Exchange 2010 Sp1 Win2K8 R2
I have a CAS Arrey with a DAG set up.....
Question by:Tencha
    LVL 52

    Assisted Solution

    by:Manpreet SIngh Khatra
    Your first 2 commands tell me that your trying to delete content from User Mailbox whereas the 3 command says for DiscoverMailbox ?

    What if you run the below command ..... do you get the Output ?
    Get-Mailbox "UserName" | search-mailbox -searchquery "From:''" -searchdumpsteronly

    - Rancy

    Accepted Solution

    I found the answer, you have to take of single item recovery...set to $false. After that you can run the search query and delete.

    Author Closing Comment

    Without the rights pulled off, you can not can search but nothing else.

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

    Join & Write a Comment

    Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
    In this video we show how to create a Contact 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 Recipients >> Contact ta…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now