Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19214

Search-Mailbox -DeleteContent - some messages not deleted.

$
0
0

I'm trying to clear out old emails from our Journaling mailbox which have been moved to a PST file. I am using the following command:-

Search-Mailbox journal -SearchQuery "Received:< $('01/10/2012')" -DeleteContent

The first time command was run, all but 18 messages were deleted. However, no matter how many times I rerun the command, ResultItemsCount = 0 and the 18 messages remain.

Is there a particular type of message which can't be deleted with this command?

TIA


Viewing all articles
Browse latest Browse all 19214

Trending Articles



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