Exchange 2016 – Powershell for Message Tracking

You will need to use Get-MessageTrackingLog to trace those Email delivered to Distribution Group since the Delivery Report in Exchange EAC seem like cannot be used to archive the goal.

You can change the (Get-Date).AddDays(-1) to search for Email for past -X days

Get-MessageTrackingLog -ResultSize Unlimited -Start (Get-Date).AddDays(-1) -Recipient "admin@benalec.com.my" | Format-List Sender, Recipients, MessageSubject, TimeStamp

Sender         : kwyong@aventistech.com
Recipients     : {admin@abc.com.my}
MessageSubject : Email Testing @405PM
Timestamp      : 7/10/2018 4:03:14 PM

Sender         : kwyong@aventistech.com
Recipients     : {admin@abc.com.my}
MessageSubject : Email Testing @405PM
Timestamp      : 7/10/2018 4:03:14 PM

Sender         : kwyong@aventistech.com
Recipients     : {admin@abc.com.my, Administrator@abc.com.my, normalawati@abc.com.my, siewyuen.teh@benalec.com.my}
MessageSubject : Email Testing @405PM
Timestamp      : 7/10/2018 4:03:14 PM
Reference Links
1. https://docs.microsoft.com/en-us/powershell/module/exchange/mail-flow/get-messagetrackinglog?view=exchange-ps

Leave a Comment