21 C
Dubai
Monday, March 4, 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

https://www.azure365pro.com/deleting-a-specific-email-from-entire-organization-in-exchange-2010-2/

First did a Estimation on How many emails –

FROM –

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?