Hi ,
Below command will be used on the exchange management shell to have a grid-view on the output.
Get-TransportService | Get-MessageTrackingLog -recipients "yourname@abc.com" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject
| Out-GridView
(or)
Below command will be used on the exchange management shell to have the output on the csv file.
Get-TransportService | Get-MessageTrackingLog -recipients "yourname@abc.com" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject
| Export-csv c:\nithya.csv
Reference
Link for message tracking : http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell/