36.1 C
Monday, June 17, 2024

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
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles


Please enter your comment!
Please enter your name here