Command line management, The command-line interface for the client service, 6 command line management – HP t5740 Thin Client User Manual

Page 29: 6command line management

Advertising
background image

6

Command Line Management

This chapter includes the following topics:

The command-line interface for the client service

Typing a parameter if the agent is password-protected

The command-line interface for the client service

You can manipulate the agent directly from the command line on the agent computer by using the smc
command for the client service. You may want to use this command in a script that runs the parameters
remotely. For example, if you need to stop the agent to install an application on multiple agents, you
can stop and restart each client service.

With the exception of smc -start, the client service must run to use the command-line parameters.
The command-line parameters are not case sensitive.

Table 6-1

Parameters that administrators can use

Parameter

Description

smc -importadvrule

Replaces the imported firewall rules to the agent's list of existing firewall rules.

These rules overwrite the existing rules. The client service must run to import the
profile file's contents.

To import firewall rules, you import a .sar file. For example, you can type the following
command:

To import firewall rules, you import a .sar file. For example, you can type the following
command:

smc -importadvrule

C:\config\AllowExplorerRule.sar

An entry is added to the System log after you import the rules.

smc –appendadvrule

Adds the imported rules to the bottom of an existing advanced rules list. This
command does not overwrite existing Advanced rules.

To append firewall rules, you import a .sar file. For example, you can type the
following command:

smc –appendadvrule

C:\config\AllowExplorerRule.sar

An entry is added to the System log after you append the rules.

The command-line interface for the client service

23

Advertising