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