7-5 deletehostinfo, 7-6 gethost, Table 4-84 deletehostinfo command parameters – HP XP Command View Advanced Edition Software User Manual

Page 194: Table 4-85 gethost command parameters

Advertising
background image




Command line interface commands



194

Command execution result:

RESPONSE

(Command completed; no data returned)

4-7-5 DeleteHostInfo

DeleteHostInfo

deletes a HostInfo instance from the Device Manager server (see

Table 4-84

).

A user who has only View permission cannot execute this command. A user to whom a user-defined
resource group is assigned and who also has Modify permission can specify HostInfo for an allowed
host.

NOTE:

A Local System Administrator and Local Storage Administrator can specify HostInfo for

a permitted host.

Table 4-84

DeleteHostInfo command parameters

Parameter Name

Status

Description

objectid

Required

Object ID of the HostInfo record to be removed
Specify the objectID obtained from another CLI response. The value is
encoded by the CLI.

Command execution example:

hdvmcli DeleteHostInfo -o "D:\logs\XP1024 DeleteHostInfo.log" "objectid=*****"

*****

: The value is encoded by the CLI.

Command execution result:

RESPONSE

(Command completed; no data returned)

4-7-6 GetHost

GetHost

returns information about one or all host servers (see

Table 4-85

).

A user to whom a user-defined resource group is assigned can specify the allowed hosts. If a host
that is not allowed is specified, an error occurs.

NOTE:

If you do not know the object ID of the required host, you can obtain information about all

the hosts by executing the GetHost command without specifying this parameter.

Table 4-85

GetHost command parameters

Parameter Name

Status

Description

objectid

Optional

Object ID of the host for which information is to be returned
Omit this parameter to include all hosts.

NOTE:

Do not specify the hostname and hostfilter parameter at the

same time, as this might cause an error to occur.

hostname

Optional

Name of the host to obtain information about
Omit this parameter to include all hosts.

NOTE:

Do not specify the objectid and hostfilter parameter at the

same time, as this might cause an error to occur.

Advertising