[PS] C:\Scripts>get-command *tracking* CommandType Name Definition ----------- ---- ---------- Function Get-MessageTrackingLog ... Function Get-MessageTrackingReport ... Function Search-MessageTrackingReport ...
[PS] C:\Scripts>help get-messagetrackinglog NAME Get-MessageTrackingLog SYNOPSIS Use the Get-MessageTrackingLog cmdlet to search message information stored in the message tracking log. SYNTAX Get-MessageTrackingLog [-DomainController <Fqdn>] [-End <DateTime>] [-EventId <String>] [-InternalMessageId <String>] [-Messa geId <String>] [-MessageSubject <String>] [-Recipients <String[]>] [-Reference <String>] [-ResultSize <Unlimited>] [-Sender < String>] [-Server <ServerIdParameter>] [-Start <DateTime>] [<CommonParameters>] DESCRIPTION A unique message tracking log exists on each computer that has the Hub Transport server role, the Mailbox server role, or the Edge Transport server role installed. The message tracking log is a comma-separated value (CSV) file that contains detailed information about the history of each e-mail message as it travels through an individual server. You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in thi s topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what p ermissions you need, see the "Message tracking" entry in the Transport Permissions topic. RELATED LINKS Online Version http://technet.microsoft.com/EN-US/library/3e0e270a-ba0b-4231-a289-9a940bb63761(EXCHG.141).aspx REMARKS To see the examples, type: "get-help Get-MessageTrackingLog -examples". For more information, type: "get-help Get-MessageTrackingLog -detailed". For technical information, type: "get-help Get-MessageTrackingLog -full". [PS] C:\Scripts>help get-messagetrackinglog -examples NAME Get-MessageTrackingLog SYNOPSIS Use the Get-MessageTrackingLog cmdlet to search message information stored in the message tracking log. -------------------------- EXAMPLE 1 -------------------------- This example uses the Get-MessageTrackingLog command to retrieve message tracking log entries that were created between March 13, 2010 at 09:00 and March 15, 2010 at 17:00 with a Sender parameter value of j...@contoso.com. Get-MessageTrackingLog -Start "03/13/2010 9:00AM" -End "03/15/2010 5:00PM" -Sender "j...@contoso.com" Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: Oliver Marshall [mailto:oliver.marsh...@g2support.com] Sent: Thursday, January 13, 2011 6:59 AM To: MS-Exchange Admin Issues Subject: Querying tracking logs via powershell Anyone know if it's possible to query the tracking logs for a given user within a given time frame via powershell? Basically we need to export the email activities of a user and the log tracking tool in Exchange 2010 isn't great on export features. Olly --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist