HP XP P9000 Command View Advanced Edition Suite Software 7.6.0-00 CLI Reference Guide

DescriptionStatusParameter name
Specifies whether to update (overwrite) information about a host
already registered with Device Manager if another host that has
the same name is specified.
true: Update
false: Do not update
If true is specified, only the hosts that were manually registered
by using the Device Manager GUI or CLI (AddHost command
or HostScan command) are updated.
If this parameter is omitted, false is assumed.
The specification of this parameter is ignored if check is specified
for the function parameter.
Optional
overwrite
Parameter values to obtain in advance
None.
Command execution example 1
In this example, the ImportHosts command with check specified for the function parameter
checks the input files.
hdvmcli ImportHosts "function=check"
"inputfile=D:\work\hostImport.csv" "mappingfile=D:\work\import.properties"
"resultfilepath= D:\work"
Command execution result 1
RESPONSE:
Verification of records from 1 to 15
in "D:\work\hostImport.csv" is complete.
Number of hosts that can be imported = 10
Number of hosts that cannot be imported = 5
Number of hosts that can be imported but for which a warning was given = 1
See "D:\work\ImportHostsCheckResult-20120515113355.txt" for information
about the hosts that can be imported.
See "D:\work\ImportHostsResult-20120515113355.log" for details about
errors and warnings.
The command execution result is output to the standard output. Follow the instructions given in the
displayed message and confirm that the file contents are correct.
The following describes the output items:
Number of hosts that can be imported
Number of hosts that can be imported (including the value for Number of hosts that can
be imported but for which a warning was given)
Number of hosts that cannot be imported
Number of hosts that cannot be imported due to an invalid format or other problems
Command reference296