- 统计时间段内邮件发送情况
Get-MessageTrackingLog
-ResultSize unlimited -Start "8/1/2023" -End "8/31/2023"
-EventId send -Server exmbx01 | Measure-Object
- 统计某个邮箱发送情况
Get-MessageTrackingLog
-ResultSize unlimited -Start "8/1/2023" -End "8/31/2023"
-EventId send -Sender [email protected] | Measure-Object
- 按邮箱统计时间段内发送情况
Get-MessageTrackingLog
-ResultSize unlimited -Start "8/1/2023" -End "8/31/2023"
-EventId send | Group-Object -Property:sender | select name,count
Get-MessageTrackingLog
-ResultSize unlimited -Start "8/1/2023" -End "8/31/2023"
-EventId send |Group-Object -Property:sender | select name,count |sort count
-Descending
- 按邮箱统计时间段内接受情况
Get-MessageTrackingLog
-ResultSize unlimited -Start "8/1/2023" -End "8/31/2023"
-EventId receive|Group-Object -Property:sender | select name,count
|sort count -Descending
- 设置单个用户邮箱outlook anywhere
Get-Mailbox
–Identity <mailbox> | Set-CASMailbox -MAPIBlockOutlookRpcHttp:$False
标签:EventId,End,Exchange,Object,汇总,Start,MessageTrackingLog,2023,邮件 From: https://blog.51cto.com/fantacyzmr/7281933