17.4 ioutils exportasset (Exporting asset information)
Functionality
This command exports asset information to a CSV file.
This command can export the following asset information:
-
Hardware asset information
-
Software license information
-
Managed software information
-
Contract information
-
Contract vendor list
For asset items displayed in a dash ("-") in the Asset module, a null value is exported. Using null values lets you avoid causing errors if the exported data is imported back without any modification. A file is exported even when no information items are available to export.
Execute this command on the management server.
Format
ioutils exportasset -export export-file-name [ -assettype asset-information-type] [ -filter filter-name][ -encoding character-encoding][ -s]
Arguments
- -export export-file-name
-
Specify the absolute path (within 259 bytes) of the CSV file to export.
- -assettype asset-information-type
-
Specify the type of asset information to be exported. The available types of asset information are provided below. If you omit this argument, hardware (hardware asset information) is specified.
- hardware
-
Hardware asset information
- license
-
Software license information
- mngsoftware
-
Managed software information
- contract
-
Contract information
- vendor
-
Contract vendor list
- -filter filter-name
-
To export asset information using a filter, select a filter name that is displayed in menu area in the operation window.
- -encoding character-encoding
-
Specify a character code for assert information to export. The following types of character codes can be specified. When you do not specify this argument, the character code 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 command prompt provided by JP1/IT Desktop Management 2.
Notes
-
Execute this command when the management server setup is completed and the services on the management server are 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 exportassetassoc
-
ioutils exportdevice
-
ioutils exportdevicedetail
-
ioutils exportfield
-
ioutils exportfilter
-
ioutils exportoplog
-
ioutils exportpolicy
-
ioutils exporttemplate
-
ioutils exportupdategroup
-
ioutils exportupdatelist
-
ioutils importasset
-
ioutils importassetassoc
-
ioutils importexlog
-
ioutils importfield
-
ioutils importfilter
-
ioutils importpolicy
-
ioutils importtemplate
-
ioutils importupdategroup
-
ioutils importupdatelist
-
reorgdb
-
startservice
-
stopservice
-
updatesupportinfo
-
deletenwgroup
-
deletepackage
-
distributelicense
-
Return values
The following table shows the return values of the ioutils exportasset command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
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. |
101 |
Command execution failed because there is not enough memory, or due to some other. |
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 hardware asset information to C:\temp\hardwareexpo.csv.
ioutils exportasset -export C:\temp\hardwareexpo.csv -encoding UTF-8 -s
Related Topics: