1 统计Exchange2010每位用户单位时间内的发送的邮件数量
1
2
|
[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
|
2 统计单位时间内向某个邮箱发送的邮件数量或邮件主题:
1
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
xiaosong8706@gmail.com"
|
Measure-object
|
1
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
xiaosong8706@gmail.com"
|
3 单位时间内内部用户收到邮件的数量统计
1
2
|
[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域名
|
本文转自handsome7038 51CTO博客,原文链接:http://blog.51cto.com/lixiaosong/1359358