7-4 deletehost, Table 4-82 addhostrefresh command parameter, Table 4-83 deletehost command parameters – HP XP Command View Advanced Edition Software User Manual
Page 193

Command line interface commands
193
Table 4-82
AddHostRefresh command parameter
Parameter Name Status
Description
objectid
Optional
Specify the object ID of the target host.
NOTE:
You must specify either objectid or hostname. Do not specify
both parameters at the same time, as this might cause an error to occur.
hostname
Optional
Name of the target host
NOTE:
You must specify either objectid or hostname. Do not specify
both parameters at the same time, as this might cause an error to occur.
In this example, the CLI command obtains the latest information about the host where an object ID
is HOST.5.
Command execution example:
hdvmcli AddHostRefresh -o "D:\logs\AddHostRefresh.log" "objectid=*****"
*****
: The value is encoded by the CLI.
Command execution result:
RESPONSE:
An instance of Host
objectID=*****
name=rise
ipAddress=192.168.32.164
capacityInKB=0
hostType=-1
*****
: The value is encoded by the CLI.
4-7-4 DeleteHost
DeleteHost
deletes information about a host server from the Device Manager server (see
NOTE:
DeleteHost does not delete the host information from the External port.
A user who has only View permission cannot execute this command. A user to whom user-defined
resource groups are assigned and who also has Modify permission can specify the allowed hosts
only. If a host that is not allowed is specified, an error occurs.
Table 4-83
DeleteHost command parameters
Parameter Name
Status
Description
objectid
Optional
Object ID of the host to be removed
NOTE:
You must specify either objectid or hostname. Do not specify
both parameters at the same time, as this might cause an error to occur.
hostname
Optional
Name of the host to remove
NOTE:
You must specify either objectid or hostname. Do not specify
both parameters at the same time, as this might cause an error to occur.
Command execution example:
hdvmcli DeleteHost -o "D:\logs\DeleteHost.log" "objectID=*****"
*****
: The value is encoded by the CLI.