Confirm if items(Emails) purged after running New-ComplianceSearchAction in Compliance PowerShell

Iron Contributor

Hi Tech Community Folks,

We have received a request to delete some items(Email Messages] from EXCHANGE.

According to this guide, I created my content search and ran it [ STEP1]


It has found 44 items!

Then as STEP2: I  connected to Compliance & Security Center in PowerShell as Admin, and ran New-ComplianceSearchAction -SearchName "ABC_004_22_2" -Purge -PurgeType SoftDelete
[ I ran this command atleast 10 times ]

Once I get the status via:

Get-ComplianceSearchAction  -Identity 'ABC_004_22_2_Purge' | Format-list


It shows the task has been completed...

Name SearchName Action RunBy JobEndTime Status
---- ---------- ------ ----- ---------- ------
ABC_004_22_2_Purge ABC_004_22_2 Purge Fadavinia, Ali 2021/05/18 9:26:29 PM Completed

Now my question is here:
When I go to Security & Compliance --> Content Search and query my case again the results are still 44 items.

What am I missing? how do I know if they are really deleted?

Thanks for your thoughts and input


6 Replies
Even when you do a "purge", items are not immediately deleted, as other features (holds, Single Item Recovery) can prevent this. Read here:
Correct, I am aware of that,

In this case, neither of those items are in hold or custody.

If it is a soft-delete, it will land and showing up in the 'recoverable items' folder.

How can I check if they have moved into Recoverable Items Folder or still sitting in inboxes?
best response confirmed by Ali Fadavinia (Iron Contributor)
Run/export the report, you can see the path for each item therein.
Yap, that was the last report I did. It does the job but not efficient though.

I was wondering if there is any PS command that we can use

I checked the Export results and I can see all the emails are in Recoverable Items Folder except two items(emails) although those two are from similar mailboxes that their emails were deleted successfully.
They are not on in-place/litigation Hold aswell. @Vasil Michev Do you know how I can find out why they can not be deleted? What is preventing the purge? Is there any way?

@Ali Fadavinia 

SoftDelete --> Email Recoverable items user

HardDelete --> Purge Folder user (30 days)


Correct me if I am wrong.