troubleshooting Question

I need an example syntax using Get-MessageTrackingLog in Exchange Server 2016

Avatar of Dwight Baer
Dwight BaerFlag for Canada asked on
ExchangeMicrosoft
4 Comments1 Solution14 ViewsLast Modified:

Using MS Exchange 2016 on-premise.  Problem:  The mail (from external senders only) is mysteriously being held for up to 14 hours and then it starts to flow again.


I'm looking for examples of using the Get-MessageTrackingLog command in Exchange Management Shell to report on all emails that are sent and delivered within a specific time frame.  I'm using help from Microsoft at:

https://docs.microsoft.com/en-us/exchange/mail-flow/transport-logs/search-message-tracking-logs?view=exchserver-2019 


The command syntax that I'm using without success is:

get-messagetrackinglog -resultsize unlimited -Start "08/31/2021 3:00 PM" -End "09/01/2021 2:00 AM" | format-list send*,Recipient* | set-content -path "C:\admin\out.txt"


Here is the first line of the output of the above:

Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData


Not very useful.


What am I missing?


Thanks much.




ASKER CERTIFIED SOLUTION
Jian An Lim
Solutions Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2016

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 4 Comments.
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>

Mike

Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 4 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004