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:
-
Hardware Asset Information
-
Software License Information
-
Contract Information
Execute this command on the management server.
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 2-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 2.
Notes
-
Execute this command when the management server setup is completed and the management server is running.
-
This command cannot be simultaneously executed by multiple users.
-
This command cannot be executed simultaneously with any of the following commands:
-
exportdb
-
importdb
-
ioassetsfieldutil export
-
ioassetsfieldutil import
-
ioutils exportasset
-
ioutils exportdevice
-
ioutils exportdevicedetail
-
ioutils exportfilter
-
ioutils exportoplog
-
ioutils exportpolicy
-
ioutils exporttemplate
-
ioutils exportupdategroup
-
ioutils importasset
-
ioutils importfield
-
ioutils importfilter
-
ioutils importpolicy
-
ioutils importtemplate
-
ioutils importupdategroup
-
reorgdb
-
startservice
-
stopservice
-
updatesupportinfo
-
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 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: