Exchange 2010 Find Send Messages

This is a quick one. This cmdlet will help you search the message tracking logs on the hub transport server to see who send emails to external email domains.

Edit properties of Powershell window to width = 120 and height = 500
Run the following cmdlet:
Get-MessageTrackingLog -resultsize unlimited |where-object {$_.Recipients -like ì*, *@yahoo.comî -AND $_.EventId -eq ìSendî} |ft -auto >>C:\External mails.txt