1 统计Exchange2010每位用户单位时间内的发送的邮件数量

[PS] C:\>Get-ExchangeServer  bj*  |  Get-MessageTrackingLog  -Start  "2/13/2014 00:00:00"  -end  "2/14/2014 00:00:00"  -EventId send -resultsize unlim 
ited|Group-Object -Property sender | select Name,count | sort count –Descending

p_w_picpath

2 统计单位时间内向某个邮箱发送的邮件数量或邮件主题:

[PS] C:\>Get-ExchangeServer  bj*  |  Get-MessageTrackingLog  -Start  "2/13/2014 00:00:00"  -end  "2/14/2014 00:00:00"  -EventId send  -Recipients  "li 
[email protected]"  |  Measure-object

Exchange 技巧(1) Exchange2010 邮件收发统计_第1张图片

[PS] C:\>Get-ExchangeServer  bj*  |  Get-MessageTrackingLog  -Start  "2/13/2014 00:00:00"  -end  "2/14/2014 00:00:00"  -EventId send  -Recipients  "li 
[email protected]"

p_w_picpath

3 单位时间内内部用户收到邮件的数量统计

[PS] C:\>Get-ExchangeServer  bj*  |  Get-MessageTrackingLog  -Start  "2/13/2014 00:00:00"  -end  "2/14/2014 00:00:00"  -EventId  Receive  -resultsize 
unlimited|  Where  {$_.Recipients  -like "*@xxx.com"}  |  Measure-object   #注释xxx.com为公司的Exchange域名

Exchange 技巧(1) Exchange2010 邮件收发统计_第2张图片