beautypg.com

Tool usage, Command line syntax, Command line arguments – HP Integrity rx5670 Server User Manual

Page 21: Command line examples

background image

SetLACState Utility

Tool usage

Chapter 3

21

Tool usage

The

SetLACState

utility can be run from the command prompt or it can be used during

RDP installations. It can also be added to the [GuiRunOnce] section of

unattend.txt

for

use in unattended installations.

Command line syntax

Use the following format at the command line:

SetLACState [Enable | Disable] [/l ]

[/? | /help]

Command line arguments

Use the following command line arguments:

Command line examples

The following are valid

SetLACState

command line examples that achieve the same

result:

Example #1:

SetLACState 2 disable

Table 3-1

SetLACState

command line arguments

Argument

Function

Connection>

The name or ID of the LAN Connection (for example,
Local Area Connection or 1, 2, or 3).

NOTE:

If using this utility in the [GuiRunOnce]

section of

unattend.txt

, you must specify the ID of

the Local Area Connection. Specifying just the name
of the Local Area Connection results in an error. For
example, “Local Area Connection” has an ID of 1.
“Local Area Connection 2” has an ID of 2, and so on.
Local Area Connections that have been renamed no
longer have an ID.

[Enable | Disable]

Enables or disables the specified Local Area
Connection.

[/l ]

Lets you to specify where the logfile is saved. The
default location is on the system drive at:

%SystemRoot%\cpqsystem\log\setlacstate.log

.

/?

Displays utility usage (optional).

/help

Displays utility usage (optional).

This manual is related to the following products: