USB device inventory with HardwareID
search cancel

USB device inventory with HardwareID

book

Article ID: 438051

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

How to add an additional inventory for USB Device with HardwareID value ?
WBEM Inventory Detection Module could be used but HardwareID item is not in the list.

Environment

Client Automation - All Versions.

Cause

HardwareID has the type CIM_STRING + CIM_FLAG_ARRAY
It is an array of string and CIM_FLAG_ARRAY is not supported by wbem inventory

Resolution

A solution is to create a DMS Script which generate a MIF file. Attached to this article there is a script USB.dms

  1. Create an Asset Job of type "Script"



  2. Click Next. Give the Job Name. Ex: USB Device Inventory

  3. Click Next. Copy/Paste the content of file USB.dms



  4. Click Next. Click on "Set Scheduling" button and in Miscellaneous check "This job is allowed to run unattended" :



  5. Click Finish. Assign this job to the computers or group of computers

    When AM Agent is executed on the Agent, the script is executed and the file C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\USB.MIF is generated and is converted to USB.MNV

  6. In DSM Explorer under Inventory/Additional there is a new inventory USB Device Inventory with following columns :
    Caption, Name, Description, DeviceID and HardwareID

Attachments

USB.dms get_app