Exchange 2010 message tracking power-shell filter(s)

Glyn Fletcher
Glyn Fletcher used Ask the Experts™

I'm looking for Exchange 2010 message tracking power-shell filter(s) that will show all emails sent from the local domain, within a specific time frame, to all external domains, excluding all emails sent to recipients within the local domain. Basically, any email sent outside of the organisation over a period of 3 days. There are too many emails to go through if I just do a standard search-all.

Many thanks
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
EE Solution Guide - Technical Dept Head
Most Valuable Expert 2017
Please try this and let me know.
Get-MessageTrackingLog -start 17/06/2018 -eventid SEND -resultsize unlimited | Where-Object {$_.recipients -notlike ""} | Select-Object eventid,sender,totalbytes,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject | where {$_.totalbytes -gt "1000000"}|

Open in new window

Seth SimmonsSr. Systems Administrator

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: MAS (MVE) (https:#a42600066)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial