Share via

Mail count

Hriday Saha 146 Reputation points
2022-09-11T11:07:38.433+00:00

I need a mail count from any mailbox of my organization to a distribution mailgroup. is there any script or cmd to find out this information?

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


Answer accepted by question author
  1. KyleXu-MSFT 26,401 Reputation points
    2022-09-12T02:11:08.367+00:00

    @Hriday Saha

    You could use command below to check for it:

    Get-TransportService | Get-MessageTrackingLog -Start "9/01/2022 09:00:00" -End "9/13/2022 09:10:00" -Recipients ******@domain.com -EventId RECEIVE -Source SMTP | select Sender  
    

    Please note, Message Tracking Log only could check logs within 30 days by default.

    Get-TransportService | fl MessageTrackingLogMaxAge  
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. RIDOA MALLIK 0 Reputation points
    2026-03-14T11:57:48.62+00:00
    Header 1 Header 2
    Cell 1 Cell 2
    Cell 3 Cell 4
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.