how to print all emails sent and received via edge in 2010

Status
Not open for further replies.
S

Suhail.Pir

hi all.

please if someone can help me how to get list of all email messages sent and received via edge server. i m using 2010. manually without using any other tool. using edge own features.

waiting

thanking u in advance.

Regards

SHAH
 
S

Suhail.Pir

thanks and done!!

can i get mails result for a specific period of time i.e. from this date to that... how can i print the result?

once again thank u Frank.
 
S

Suhail.Pir

i mean to print result for all users not a single one.

Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" -Sender " john@contoso.com"
 
F

Frank.Wang

i mean to print result for all users not a single one.

Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" -Sender " john@contoso.com"
Hi SHAH,

So just run the Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" , don't specify the -sender parameter...


 
S

Suhail.Pir

hi Frank!! sorry for bothering U again :)What if I were to want to filter the messagetrackinglog to only look at, say, distribution groups, and I only wanted to show a message count? I've gotten good results on a single recipient with | measure-object, but I'd like to get a message count for each DL.
 
F

Frank.Wang

Hi Digital.Drop,

If you want to filter the logs, you can use the Where syntax.

For example:

Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" | where {$_.recipients -eq DGname@contoso.com}


 
S

Suhail.Pir

Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" | where {$_.recipients -eq DGname@contoso.com }

thats what i needed.

Regards Shah
 
S

Suhail.Pir

Get-MessageTrackingLog -Start " 03/13/2010 9:00AM" -End " 03/15/2010 5:00PM" | export-csv C:\result.csv

This will create a CSV file of the message tracking results with column headers that can then be imported into Excel.

final answer :)

Regards Shah
 
S

Suhail.Pir

also you can use this to retrieve all HT servers from your organization:
Get-ExchangeServer | where {$_.IsHubTransportServer -eq " true" }
Pipe this output (you can sort this output) to the get-messagetrackinglog and you get this:
Get-ExchangeServer | where {$_.IsHubTransportServer -eq " true" } | sort-object Name | get-messagetrackinglog -Sender:<<somebody>> -EventID " RECEIVE" -Start " 12/1/2008 2:04:00 PM" -End " 12/30/2008 2:14:00 PM" | convertto-HTML TimeStamp,ServerHostName,Sender,{$_.recipients},MessageSubject| out-file M_Tracks.htmlRegards Shah
 
Status
Not open for further replies.
Top