To find How much emails received by each user in last one month in exchange server 2016
Get-TransportServer | Get-MessageTrackingLog -ResultSize unlimited -Start "10/23/2021 09:00:00" -End "11/23/2021 09:10:00" | where{$_.Recipients -like "*@mydomain.com"} | Group-Object -Property Sender | Select-Object name,count | sort count -desc | ft -auto >c:\path\EmailCountRecipt.csv
No comments:
Post a Comment