HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide
DescriptionStatusParameter name
Mapping definition file name
Use an absolute path or relative path to specify a property format
file that associates the information in the host information file with
the host information to be imported.
If this parameter is omitted, import.properties in the Device
Manager CLI installation directory or folder is used as the
mapping definition file.
Optional
mappingfile
Output destination for check result files and error information files
Use an absolute path or relative path to specify the output
destination for check result files to be output after a check, and
error information files output if an error occurs or a warning is
issued in the check function or import function.
If this parameter is omitted, the files are output to the Device
Manager CLI installation directory or folder.
Optional
resultfilepath
Type of processing to be performed
• check:
Check whether the format of the information in the input files
is correct.
• import:
Import host information.
If this parameter is omitted, check is assumed.
Optional
function
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 reference304