skip to Main Content

Search message tracking logs in Exchange

How to search for message tracking logs by sender or recipient email address in Exchange? What if there is a tool that can search and show you the results. Learn more about the Exchange message tracking logs GUI PowerShell script.

Information

In Microsoft Exchange Server, the message tracking log is a detailed record of all message activity as messages are transferred to and from the Transport service on Mailbox servers, mailboxes on Mailbox servers, and Edge Transport servers.

Why you want to use message tracking logs:

  • Message forensics
  • Mail flow analysis
  • Reporting
  • Troubleshooting

Prepare the search message tracking logs GUI script

Download the Exchange Message Tracking GUI.ps1 PowerShell script. Save the file on your Exchange Server in the following path: C:\scripts\. You can find the original article over here.

Place PowerShell script in scripts folder

Now that we placed the message tracking script in the scripts folder. The next step is to run the Exchange message tracking GUI script.

Run Exchange message tracking GUI script

Run Exchange Management Shell or PowerShell as administrator; both will work. Run the following cmdlet to start.

PS C:\> C:\scripts\Exchange-Message-Tracking-GUI.ps1

After the application starts, you can change the language. In our example, we are changing the language to English.

Change language

Search message tracking logs by sender

We like to search for messages that are sent by the user Amanda Morgan.

  1. Enable and enter email address of the sender
  2. Enable and set the eventID by selecting SEND
  3. Set the results to 100
  4. Click Search to search the sent messages

I recommend setting a small size of limit results. If you are sure that the information is correct, and need more data, change the limit results. If you want to see all the results, change the Results to Unlimited.

Search message tracking logs in Exchange script sender

After we click on the Search button, the sent messages will show in the Out-GridView.

The Out-GridView cmdlet sends the output from a command to a grid view window where the output is displayed in an interactive table.
Search message tracking logs in Exchange script sender results

If you like to export the results to a CSV file, enable Save results to CSV-File. Choose a folder, or it will save the CSV file by default on the desktop.

Search message tracking logs by recipient

We like to search for all messages that have been received by the user Amanda Morgan.

  1. Enable and enter email address of the recipient
  2. Enable and set the eventID by selecting DELIVER
  3. Set the results to 100
  4. Click Search to search the received messages

I recommend setting a small size of limit results. If you are sure that the information is correct, and need more data, change the limit results. If you want to see all the results, change the Results to Unlimited.

Search message tracking logs in Exchange script recipient

After clicking the Search button, the received messages will show in the Out-GridView window.

Search message tracking logs in Exchange script recipient results

Do you like to export the results to a CSV file? Enable Save results to CSV-File. Choose a folder, or it will save the CSV file by default on the desktop.

Search message tracking logs by date and time

Another example is searching for all the messages sent on the date 15/10/2020, between 00:00 – 02:00.

  1. Enable and set the EventID by selecting SEND
  2. Enable and set the start date and time at 00:00
  3. Enable and set the end date and time at 02:00
  4. Set the results to 100
  5. Click Search to search the received messages

I recommend setting a small size of limit results. If you are sure that the information is correct, and need more data, change the limit results. If you want to see all the results, change the Results to Unlimited.

Search message tracking logs in Exchange script date and time

After we click the Search button, the received messages will show in the Out-GridView window.

Search message tracking logs in Exchange script date and time results

Tracking message logs in Exchange is simple with the GUI. Did you make use of the message tracking logs GUI PowerShell script?

Keep reading: Search and delete messages from Exchange user mailboxes »

Conclusion

In this article, you learned how to search message tracking logs in Exchange Server. If you like to have a GUI with a lot of options, use the Exchange Message Tracking GUI PowerShell script. It’s also great if you don’t want to run cmdlets in PowerShell. Don’t forget to export the message tracking logs to a CSV file if you need it.

Did you enjoy this article? You may also like Export a list of mailboxes to text in Exchange. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top