Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Administration Guide


17.13 ioutils exportdevicedetail (exporting device information details)

This section describes the ioutils exportdevicedetail command for exporting device information details.

Functionality

This command exports device information details to a CSV file. A file is exported even when no information items are available to export.

If you have multiple JP1/IT Desktop Management 2 systems configured, device information in one system can be reused in another system.

Execute this command on the management server.

Format

ioutils exportdevicedetail -export export-file-name[ -template template-name][ -filter filter-name][ -encoding character-encoding][ -s]

Argument

-export export-file-name

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

-template template-name

Specify a template name to be used for export. The specified fields in the template will be exported in the specified encoding.

-filter filter-name

Specify a filter name that is displayed in the menu area in the operation window, to export device information using a filter.

-encoding character-encoding

Specify a character code for device information to export. The following types of character codes can be specified. When this argument is omitted, the character code is set to the one specified in the template if a template is specified. If a template is not specified, it is set to UTF-8.

  • US-ASCII

  • ISO-8859-1

  • UTF-8

  • UTF-8N

  • UTF-16

  • UTF-16LE

  • UTF-16BE

  • MS932

  • Shift-JIS

  • EUC-JP

  • JIS

-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 storage location for the executable file, by using the built-in command prompt provided by JP1/IT Desktop Management 2.

Notes

Return value

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

Return value

Description

0

The command finished normally.

1

The command finished normally, but there is some invalid device information.

11

The specified format for the argument is incorrect.

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.

70

The specified filter does not exist.

72

The specified template does not exist.

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 device information to "C:\temp\devicedetailexpo.csv."

ioutils exportdevice -export C:\temp\deviceexpo.csv -encoding UTF-8 -s

Related Topics: