24.5 C
Tuesday, December 6, 2022

Search-mailbox sent Received to Specific External Recipient

Retrieving and Exporting mailbox Content sent and received to specific external Recipient.

Click the below Link – Make sure the Admin has appropriate Permissions


First did a Estimation on How many emails –


Search-Mailbox –Identity sath@localhost  -SearchQuery "From:90devilforwarder@gmail.com" –EstimateResultOnly

TO –

Search-Mailbox –Identity sath@localhost  -SearchQuery "to:90devilforwarder@gmail.com" –EstimateResultOnly

Verified its pulling up some results.

Exported to my administrator mailbox –

Search-Mailbox –Identity sath@localhost  -SearchQuery "From:90devilforwarder@gmail.com" -TargetMailbox Administrator -TargetFolder FROMDEVIL
Search-Mailbox –Identity sath@localhost  -SearchQuery "To:90devilforwarder@gmail.com" -TargetMailbox Administrator -TargetFolder TODEVIL

Some Options with Date Range –

Search-Mailbox -Identity sath@localhost -SearchQuery '(subject:"Clusters") AND (from:sathes@careexchange.in) AND (Received:4/28/2020..4/28/2020)' -EstimateResultOnly
Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Specialized in Microsoft Azure - Office 365 / Microsoft Exchange; conducted numerous projects worldwide in designing, supporting, and implementing messaging and virtualization infrastructure for medium-sized and large enterprises. Further, I am a Cloud Architect and Technical Advisor for various start-ups.

Related Articles


Please enter your comment!
Please enter your name here

× How can I help you?