HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

List of 1 CommParameters elements:
An instance of CommParameters
ipAddress=10.208.119.114
portNumber=5989
protocol=Secure
userID=vi-admin
*****: The values are encoded by the CLI.
DeleteHost
DeleteHost deletes information about a host server from the Device Manager server.
NOTE:
DeleteHost does not delete the host information from the external port.
Parameters
Table 86 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 will occur.
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.
CLI Reference Guide 237