Process Tracking Log (PTL) Tool Now Works with Exchange 2007 and Exchange 2010

Exchange Server 2007,EHLO,Exchange Server 2010,PTL,Process Tracking Log

Microsoft Exchange team announced the release of updated "Process Tracking Log tool for Exchange Server," which now works with both Exchange 2007 and Exchange 2010.

"While the toll retains the same looks, the new version generate some great reports. Some enhancements includes," mentions Exchange team:

  • "PTL now works with both Exchange 2007 and 2010 message tracking log. Note that the actual path for message tracking log differs between Exchange 2007 and 2010.
  • The tool will now automatically create the path folder "c:\temp\msgtrack\output" where the output results will be stored.
  • The summary file, "MTSummaryResults.txt", will have the Exchange version as well as PTL version listed," the team stated.

Exchange Server 2010 Logo

PTL may help in following situations:

  • "Message Looping
  • Message failures, such as in Delivery Status Notifications (DSNs)
  • List of top mail senders
  • List of top mail recipients
  • Top large message size generators
  • Queues backing up
  • Performance issues due to message load
  • Simply monitoring server message load," informs Exchange team.

To install the latest PTL, download it here. Please note: this script is not officially supported by Microsoft.

How to Use this tool?

The command set used to run the PTL script are still the same as the original tool.
Usage:

cscript ProcessTrackingLog.vbs <logfilepath> <numfiles> <hub|edge|all> [ <mm/dd/yyyy> | today | yesterday ]

The team cited following examples:

  1. To parse one file: cscript ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking\MSGTRK20110401-1.LOG" 1 all
  2. To parse one file in a single directory:cscript \data\scripts\ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 1 all
  3. To parse all files in a single directory:cscript \data\scripts\ProcessTrackingLog.vbs &ldquo;C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking&rdquo; 0 all
  4. To parse all files in all subdirectories in a single directory:cscript \data\scripts\ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 0 all
  5. To parse 3 files in each subdirectory:cscript \data\scripts\ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 3 all
  6. To parse all files in each subdirectory that were logged yesterday:cscript \data\scripts\ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 0 all yesterday
  7. To parse all files in each subdirectory that were logged on 6/5/2011:cscript \data\scripts\ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 0 all 6/5/2011