HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

NOTE:
DeleteHost does not delete the host information from the external port.
Parameters
Table 82 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.
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.
Device Manager CLI command reference222