%A5%B9%A5%AB%A5%A4%A5%A8%A5%F3%A5%B8%A5%A7%A5%EB+Vol.134+%3A+%A4%A2%A4%A4%A4%EA%A4%DF%A4%AF+
Hi,
Thus more research need to be done.
Any update I will post here.
Xiu Zhang
TechNet Community Support
If you don't care about unique recipients and I only send two e-mails today to the same recipient, this will output 2:
ForEach ($email in (Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start "01/08/2012" -Sender user@domain.com -EventId RECEIVE | ? {} | Select RecipientCount)) {} $total
If you just want unique recipients, this will output 1:
[String] $total = $null ForEach ($email in (Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start "01/08/2012" -Sender user@domain.com -EventId RECEIVE | ? {} | Select Recipients)) {} $total2 = $total.Split(" ") ($total2 | sort -Unique).Count - 1