HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
Parameters
Table 112 DeleteHost command parameters
DescriptionStatusParameter name
Object ID of the host to remove
Optional
#
objectid
Name of the host to remove
Optional
#
hostname
#
You must specify either objectid or hostname. Do not specify both parameters at the same
time. If they are specified at the same time, an error occurs.
Parameter values to obtain in advance
objectid
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the objectID value appears under An instance of Host. Use this objectID
value to specify the objectid parameter.
hostname
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the name value appears under An instance of Host. Use this name value
to specify the hostname parameter.
Command execution example
hdvmcli DeleteHost -o "D:\logs\DeleteHost.log" "objectID=*****"
*****: The value is encoded by the CLI.
Command execution result
RESPONSE
(Command completed; no data returned)
DeleteHostInfo
DeleteHostInfo deletes a HostInfo instance from the Device Manager server.
NOTE:
This command does not support virtualization servers.
Command reference340