ELM Server Command Line Options

<< Click to Display Table of Contents >>

Navigation:  Technical Resources > Command Line Switches >

ELM Server Command Line Options

The table below lists command line switches that are recognized by the ELM Server.

Some switches have equivalents, but only 1 switch needs to be used.

ELM Server Command Line Switches

Switch

Usage Examples

Description

/?

eemsvr.exe /help

Show the ELM Server command line help.

/help

/GetTraceFiles

eemsvr.exe /GetTraceFiles /Host=Hostname /From=YYMMDD_HHmm /To=YYMMDD_HHmm

This can retrieve trace files from remote ELM server. Files are stored in a "Hostname Logs" in the ELm program directory.

/ImportEVT=file [/LogName=logname]

eemsvr.exe /importevt=dns_events.evt /logname="dns server"

eemsvr.exe /importevt="c:\temp\file replication service.evt"

Imports events from an EVT file into the ELM Server database. The ELM Server must have the following for the computer providing the EVT file:

ELM Agent(s) for the computername(s) in the EVT file

RPC Connectivity to the computer

Read permissions to the registry on the computer

Read permissions to the file system on the computer

Remote Registry Service running on the computer

Either file or logname must match the event log name as displayed in Windows Event Viewer. If file or logname is not specified correctly, then some of the events messages may be incomplete.

At least 1 Event View must have a Date Range that encompasses all the desired historical events. Date Range is in the properties of an Event View.

Recent events can trigger Notification Methods. See Disable...for Cached (old) data and CacheDataTrigger for more details.

Also note the default database pruning will delete older events.

/LoadXML[=file]

eemsvr.exe /loadxml

Import an XML file from an ELM 3.1 or later export. If file is not specified, the ELM server will use a filename based on the Server executable.

 

/RegServer

eemsvr.exe /regserver

Register the ELM Server as a COM server and as a Windows service.

/regservice

/service

/ReinstallAgents

eemsvr.exe /ReinstallAgents /Host=hostname /Port=1251

Tells a remote ELM server (Or local server if no host is is used) to reinstall agents.  This can be useful after an update/upgrade is installed.

/SendBinaries

eemsvr.exe /SendBinaries=sendfiles.txt /Host=hostname

Upgrades/updates 7.5 to 7.5 or 7.0 ELM servers and can be used to send individual patched dll files.  Hostname can be a text file.  One line per hostname and use a comma to specify ELM server port.

/SendXML

eemsvr.exe /SendXML=xmlfilelist.txt

/Host=hostname

Optional:

/70Type=NM,MI,MC,CV,SV,EV,CF,EF,IF

/Port=1251

/ClearType=NM,MI,MC,CV,SV,EV,CF,EF,IF

Can send updated configuration files to 7.5 or 7.0 ELM servers.  Filelist.txt should have one line per xml file listed using relative path to eemsvr.exe or full path to xml file.  The xmlfilelist.txt can also be replaced with a path to an individual xml file. /70Type required for ELM 7.0.  /ClearType will delete specified items before import.

/Restart

eemsvr.exe /restart

Restart the ELM Server service.

/SaveXML[=file]

eemsvr.exe /savexml

Saves all ELM Server configuration data to an XML file. If file is not specified, the ELM server will use a filename based on the Server executable.

 

/Start

eemsvr.exe /start

Start the ELM Server service.

/Stop

eemsvr.exe /stop

Stop the ELM Server service.

/UnRegServer

eemsvr.exe /unregserver

Remove the ELM Server service and unregister the ELM Server as a COM server.

/UnRegService