Displaying MessageID via Powershell #123009
Unanswered
Jochonon
asked this question in
Programming Help
Replies: 1 comment
-
If you have access to Exchange Management Shell or can use Exchange Online PowerShell, you can use the Get-MessageTrackingLog cmdlet, which is designed for message tracking. Here’s how you might structure your command: # Ensure you're connected to Exchange PowerShell
Get-MessageTrackingLog -ResultSize Unlimited | Select-Object Timestamp, Sender, Recipients, MessageSubject, MessageId | Format-Table This command retrieves all messages from the message tracking logs and displays the timestamp, sender, recipients, subject, and MessageId. Adjust the ResultSize and other parameters based on your need. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Hi guys.
Please, tell me if there is an opportunity to run searching and displaying an MessageID of every single email, which I will get via my code.
I was trying to figure out it, but I have only blank column without any messageid record.
My code is located in attachment. Many thanks for your answers.
EmailTracking.txt
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions