Forum Discussion
tcboeira
May 13, 2024Brass Contributor
How to count messages sent from a specific mailbox
Good morning everyone!
I hope everyone is well.
As always, I warn you that I don't speak the language so I can help myself by using an online translator. I hope you can make me understand. If not, I am happy to explain my situation further.
Briefly: I need to count the number of messages sent by a specific mailbox. Report how many were sent.
I don't know if this is important information, but shipments are made in the majority - or in almost all cases - using a shared box.
There is the report in the Admin Center and honestly I'm still getting used to it. I assume there is some delay in generating it in relation to the data obtained. But this is a feeling.
What I wanted - and this could be the most complicated thing - is to use some command, which does this reading and brings me this data.
I tried to do some reading but in addition to not finding anything very specific, I also didn't really understand how my question would be possible.
I have a time problem. I am a resident of a region in Brazil that was hit hard by floods. rains. A true climate catastrophe. And my job is to support the teams that organize all the operations here. Therefore, I apologize if this time I do not ask for something for study and understanding but something more direct. If you can guide me - or show me the way - in a more direct way, I would be very grateful.
Thank you in advance for the attention that everyone can give to this issue
Have a good day at work everyone
Hugs
Please below using the command!
Get-MessageTrackingLog -Start 2024-01-01 -End 2024-01-31 -Sender test01@contoso.local -EventId "SEND" | Measure-Object | Select-Object Count
Filipgj Thanks!
Please below using the command!
Get-MessageTrackingLog -Start 2024-01-01 -End 2024-01-31 -Sender test01@contoso.local -EventId "SEND" | Measure-Object | Select-Object Count
- FilipgjCopper Contributor
Great answer, just to add if you have multiple servers use: get-exchangeserver | command by Tae