MS Exchange 2010 Message tracking log – send, receive message

here is a realy good web site with useful commands

Searching Exchange Server 2010 Message Tracking Logs with PowerShell

[PS] C:\Windows\system32>$start=(get-date).addDays(-1)

[PS] C:\Windows\system32>$end=(ged-date)example 1: Get-MessageTrackingLog -ResultSize Unlimited |

Group-Object -Property:EventId | Sort-Object Count -Desc | Select Name,Count

example 2:

Get-TransportServer | Get-MessageTrackingLog -ResultSize unlimited  -Start $start -End $end |

Where-Object {$_.EventID -eq „SEND“} | Where-Object { $_.Sender -like „*@*“ } | select TimeStamp, Sender, RecipientCount | Group-object Sender |select count, name

example3:

Get-TransportServer | Get-MessageTrackingLog -ResultSize unlimited  -Start $start -End $end |

Where-Object {$_.EventID -eq „SEND“-or $_.EventID -eq „DELIVER“ } | Where-Object { $_.Sender -like „*@*“ } |

select TimeStamp, Sender, RecipientCount | Group-object Sender |select count, name