Tuesday, January 27, 2009

Exparse Cmd Example

I used the following cmd to dump the 10 largest incoming/outgoing messages by bytes to a txt file from a message tracking log file.

C:\Program Files\exparse>cscript exparse.vbs /l:"C:\exparse\logfile.log" /v:2000 /sort:bytes /R:10 /S:10

Note: Command Syntax

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Invalid flag .

Parses Exchange Tracking logs.

SYNTAX:
1. ExParse.vbs /V:
/L: or ]
[/R:]
[/S:]
[/G:]
[/P:]
[/SORT:<>]

PARAMETER SPECIFIERS:
/V Valid Versions (55, 2000)
/L Tracking log, or log directory
/R Display the Top X Recipients.
/S Display the Top X Senders.
/p Display the Top X Public folders.
/Sort Sort by # message or message bytes.


NOTE:With extremly large tracking logs it is not recommended to
track senders,recipients, Public folders,and gateways at the same time


EXAMPLE:
1. cscript ExParse.vbs /v:55 /l:c:\20030523.log
Parses the Exchange 55 tracking log in c:\temp.

2. cscript ExParse.vbs /v:55 /l:c:\20030523.log /r:7
Parses the Exchange 55 tracking log in c:\temp, and shows the top seven users

No comments: