How to execute a DSM Report in command line ?

book

Article ID: 33262

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

Summary:

DSM Reports can be generated manually using DSM Reporter GUI.  Scheduled report are generated by an Engine.
However it is sometimes interesting to execute a report using a command line. For example to include the generation of a report in a script.

But how can you generate a report with a command line ?

 

 

Instructions: 

Following command line could be used for DSM Report (templateid) and DSM Scheduled Report (scheduleid) :
 
dsmreporter.exe [manager:<manager_address>] templateid:<templateid>
dsmreporter.exe [manager:<manager_address>] scheduleid:<scheduleid>

 

<manager_address> > is the dns name or the ip address of the manager machine. If the command line is executed directly on the DOMAIN Manager, this parameter is not necessary.

 

The value of templateid or scheduledid could be found in the properties of the Report/Scheduled Report in the Additionnal tab in field ObjectID

 

<Please see attached file for image>

Report Properties

 

<Please see attached file for image>

3.jpg

 

<Please see attached file for image>

Report Properties

 

 

 

Examples of command line :

START /WAIT dsmreporter.exe templateid:611
 
START /WAIT dsmreporter.exe manager:domain_test templateid:611
 
START /WAIT dsmreporter.exe manager:domain_test scheduleid:612
 
 

 

Environment

Release: UASIT.99000-12.8-Asset Intelligence
Component:

Attachments

1558699379926000033262_sktwi1f5rjvs16omz.jpeg get_app
1558699378240000033262_sktwi1f5rjvs16omy.jpeg get_app
1558699376267000033262_sktwi1f5rjvs16omx.jpeg get_app