Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried to run the following commands but neither work and I'm not sure how I should setup the query. I tried to find a full list of available search strings but couldn't locate one online or using help.

I did find the list here ( but it doesn't include the search queries I am looking for (based on the fact that it doesn't even list "Received:" which I know is an option because I use it all the time.

Search-Mailbox -Identity -SearchQuery 'Received:' 'To:' -LogLevel Full –DeleteContent

Search-Mailbox -Identity -SearchQuery 'Received:' 'Recipient:' -LogLevel Full –DeleteContent

Thanks in advance!

share|improve this question
up vote 1 down vote accepted

Found a link with the information I needed:

Proper query for those needing the information in the future is:

Search-Mailbox -Identity -SearchQuery ' Received:' –DeleteContent

share|improve this answer
If you answer your own question, you should still "accept" it so that 1) others see that the question is answered and 2) so that it doesn't get bumped to the front page periodically. – MDMarra Dec 19 '11 at 21:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.