Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Desktop Management Administration Guide


17.6  ioutils exportfield (exporting custom field settings)

Functionality

This command exports custom field settings to an XML file. One or more of the following fields can be specified:

Execute this command on the following servers:

Format

ioutils exportfield -export export-file-name -fieldtype type-of-custom-field[ -s]

Arguments

-export export-file-name

Specify the absolute path (within 259 bytes) of the XML file to export.

-fieldtype type-of-custom-field

Specify the type of custom filed to export. The following types of custom fields are available:

  • hardware: Hardware asset information field

  • license: Software license Information field

  • contract: Contract information field

Two or more field types can be specified. To export multiple filed types, use comma (",") to separate values.

-s

Overwrites the file even if a file with the same file name already exists at the export destination. If this argument is not specified and a file with the same file name already exists, an overwrite confirmation message appears. In this case, the system cancels the output or overwrites the file according to the administrator's reply.

Storage location

JP1/IT Desktop Management-installation-folder\mgr\bin\

You can execute this command without specifying a storage location for the executable file, by using the command prompt provided by JP1/IT Desktop Management.

Notes

Return value

The following table shows the return values of the ioutils exportfield command.

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid.

12

The specified folder is invalid, the disk does not have sufficient capacity, or the folder does not exist.

15

A file access error occurred when outputting the file, or the disk does not have sufficient capacity.

31

Another command is being executed.

51

You do not have the permissions to execute this command.

54

The management server or database server has not been set up.

101

Command execution failed because there is not enough memory, or due to some other reason.

120

A database access error occurred.

150

The command execution was interrupted due to some other error.

Example

The following example shows use of this command to export the hardware asset information and software license information fields to C:\temp\hardexportfield.xml.

ioutils exportfield -export C:\temp\hardexportfield.xml -fieldtype hardware,license -s

Related Topics: