Sun Update Connection - Enterprise 1.0 User's Guide

Add Host to Group (-ahg) Command

The add-host-group command assigns a managed host to a group.

Parameter

  • -h hostname Specify the name of a host.

  • -g groupname Specify the name of a group.

Syntax

uce_cli -ahg -h hostname -g "groupname" -u username -p password

Example

uce_cli -ahg -h wsrvr03 -g WebServers -u admin -p 123

To get valid values for the -h parameter, use the -lah command.

Valid values and results for the -g parameter: