Scenario: Batman is at it again. He is now under litigation hold for attacking Superman and you want to search in Superman’s mailbox for any message that was received and sent by Batman, or specific terms were in the Subject, Body, or attachments. You are only interested for messages sent after 1/1/2012.
Script:
Search-Mailbox Superman -SearchDumpster -SearchQuery "(Received:1/1/2012..5/18/2016) AND (To:Batman@DC.com OR From:Batman@DC.com OR CC:Batman@DC.com OR BCC:Batman@DC.com OR 'Batman' OR 'Bruce' OR 'Wayne')" –targetmailbox BobTheLawyer -loglevel full -targetfolder "Search_Batman"
This is the first time I came here. I, too entertaining stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I’m not the only one having all the enjoyment! Keep up the good work.
IT support Dallas
LikeLike