Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Search-Mailbox command not deleting content

$
0
0

Hello guys,

I'm trying to delete an specific mail from all mailboxes in a Mail box database at a time. with the following command - i have set all the needed permitions for the user running the command -

Get-Mailbox -Database DBXXX -ResultSize Unlimited | Search-Mailbox -SearchQuery Subject:"Thanks for your walmart.com order" -DeleteContent

The result is a set of log like in the image but the issue is that we can run this command 100 times and the result is the same, and I think it must come blank at the second time. Any suggestions will be welcome. One clue is that the size of the object fund is zero.

The Exchange is 2010 SP2 RU5 and the user is Enterprise Admin, Domain Admin and belong to the "Dicovery Manager" role  and "Export Import" plus "Mailbox Search" for exchage.





Carlos Sanchez


Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>