Previous Topic: query-service Command--Query the Status of a Windows Service (Funclet)Next Topic: rmdir Command--Remove Directory (Funclet)


rem-client Command--Remove the Autoshell Client from a Remote Windows System (Funclet)

The rem-client command removes the AutoShell client from a remote Windows system.

The command has the following syntax:

rem-client -host hostname [-user username] [-pass password]

The command returns true on success.

-host hostname

Specifies the remote Windows host. Unquoted argument tokens are automatically stringified. Prevent automatic quoting for expressions by placing expression code in parentheses.

-user username

(Optional) Specifies the user name to log in to the remote Windows system. The user must have rights to connect to the $ADMIN share. If no user name is specified, the user name entered during AutoShell login is used. Unquoted argument tokens are automatically stringified. Prevent automatic quoting for expressions by placing expression code in parentheses.

Default: $$User

-pass password

(Optional) Specifies password to use when log in to the remote node. If no password is specified, the password entered during AutoShell login is used. To enter a hidden password after issuing this command, specify PW_GET() with an optional prompt as argument. Unquoted argument tokens are automatically stringified. Prevent automatic quoting for expressions by placing expression code in parentheses.

Default: $$Pass

Example

To uninstall the AutoShell client on host1.

rem-client -host host1

See also:

push-client Command--Install the Autoshell Client on a Remote Windows System (Funclet)

push-winRemote Command--Copy and Execute on Multiple Remote Windows Systems (Funclet)

run-client Command--Run the Autoshell Client on a Remote Windows System (Funclet)

run-winRemote Command--Execute a Command on Multiple Remote Windows Systems (Funclet)