Command line

The general command line format for the Snow Inventory Server is:

snowserver.exe [options] [<command> [<arguments>]]

Global option

Description

-c <config-file>

Specify the server configuration file to use, default is snowserver.config.

-j <#threads>

Number of worker threads, default is one thread per logical processor.

-log-dir <dir>

Override log directory

-log-stdout

Redirect log output to stdout

-max-error-count <n>

Maximum number of accepted errors before giving up

-v

Enable verbose mode

-w <dir>

Specify the working directory

-?

Print help text and exit

Available commands:

Command

Description

copyright

Show copyright notice

dmc

install

lt

Print available log tags

standalone

-m <config-file> <config-file>

Run the server as a standalone process (console application)

Run two server configurations in the same process

start

stop

test

<test-case>

uninstall

update

<service-name> <stage-directory>

-v <version>

Update service using files from stage directory

Set version information

Type <command> -? for more information on a specific command.

Command: start

The start command cannot be used with command line arguments in a command prompt. Instead, it uses arguments entered in the registry, which means that arguments must be set in the registry in order for the start command to take effect. The arguments are set in the following path:

Registry path:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SnowInventoryServer5

Key:

ImagePath

Example 2.
CommandStart.png