In this example we will get all failed messages in specific period:
Get-MessageTrackingLog -Start "7/15/2019 08:00 AM" -End "7/15/2019 03:00 PM" -ResultSize "Unlimited" -EventId FAIL | Select EventId,Source,TimeStamp,Sender,{$_.Recipients},MessageSubject | Export-Csv mail_fail.csv
Command inspired by https://anandthearchitect.com/2012/07/06/exchange-2010-how-to-export-message-tracking-results-to-excel-sheet/