Command line options
Event Log Explorer allows you to open event logs from the
command line:
Usage:
ELEX.EXE Workspace
or
ELEX.EXE [/CLEAN] [/OPENLOG lognames] [/OPENFILE filenames]
Workspace - workspace to open with Event Log Explorer
/CLEAN - do not restore saved event log windows
/OPENLOG - open event logs lognames /OPENFILE - open
event log files filenames
Examples:
elex.exe C:\Data\MyLogs.elx
elex.exe /clean /openlog system \\server\security
elex.exe /openlog system application security
elex.exe /openfile C:\backup\system.evt "C:\app backup.evt"
\\server\c$\eventlogs\sysback.evt
elex.exe /openlog server\security server\system /openfile
C:\backup\system.evt /clean
|