Forum Discussion

Libbo88's avatar
Libbo88
Copper Contributor
Apr 18, 2024
Solved

obtain an “Unread E-mail Report” for individual email addresses filtered by specific company name.

HI All,   i have created PS for exchange to genarate above requerment.but when i run this i get CSV without any data in it.can anyone tell me what is the problem.   my script is    $inboxStats ...
  • VasilMichev's avatar
    VasilMichev
    Apr 18, 2024
    There is no way to get this data by default via Exchange PowerShell only, which is why I suppose the workaround of moving messages from said company/domain was implemented.
    You can look into a solution based on the Graph SDK for PowerShell instead, here's a sample to get you started: https://practical365.com/mailbox-contents-report/

Resources