Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Smart Device Manager


sdmgetinventory (acquiring inventory information)

This command acquires the latest inventory information from smart devices.

Organization of this page

Functionality

This command issues inventory acquisition requests to smart devices whose inventory is to be collected, as specified in a device information file.

Format

sdmgetinventory -file device-information-file

Arguments

-file device-information-file

Specify a device information file that contains device information for devices whose inventory information is to be collected, as an absolute path of 259 or fewer bytes.

The character encoding of the device information file is UTF-8.

Storage location

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin

Execution permissions

Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)

Notes

Return values

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid. Alternatively, the length of the file name specified for the command argument exceeds the upper limit.

12

You do not have the permissions to execute this command.

13

The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid.

14

The file does not exist, or you do not have permission to access it.

27

The format of the file is invalid.

28

A specified application or smart device was not found.

30

The database cannot be accessed.

150

Other error occurred.

253

The service has not started.

Example

The following shows an example of using the command to acquire inventory information for the smart devices specified in the device information file C:\temp\dev_info.csv#.

sdmgetinventory -file C:\temp\dev_info.csv
#: The contents of the C:\temp\dev_info.csv file are as follows:
Inventory type,Device name,Comment
All,Device1,
All,Device2,
All,Device3,

Related Topics