cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
877
Views
0
Helpful
4
Replies

cwcli inventory output

angelapreta
Level 1
Level 1

Hi

I need help about cwcli inventory output. The only output this commando generate is xml. How can I get the inventory dates in txt format?

LMS 2.5.1

RME 4.0.4

Thanks

4 Replies 4

Martin Ermel
VIP Alumni
VIP Alumni

this is the cmd the generates a CSV file of the 'Detailed Device Report':

NMSROOT/bin/cwcli invreport -u username -p userpassword -reportname "Detailed Device Report" -device % -file

the file must not exists and the casuser must have the right to write to the location.

If you have not specified the filename, the output is stored at the

following location:

NMSROOT\files\rme\jobs\inventory\reports\archives\reportname_timestamp.csv

Martin Ermel
VIP Alumni
VIP Alumni

this is the cmd the generates a CSV file of the 'Detailed Device Report':

NMSROOT/bin/cwcli invreport -u username -p userpassword -reportname "Detailed Device Report" -device % -file

the file must not exists and the casuser must have the right to write to the location.

If you have not specified the filename, the output is stored at the

following location:

NMSROOT\files\rme\jobs\inventory\reports\archives\reportname_timestamp.csv

Hi mermel

Thanks for your info, but I thought more at the commando "cwcli export inventory " this commando generate an .xml output, and I would like to export the information from .xml to txt file.

Translating the XML inventory to another format will require you to write either an XSL transformation for the XML, or a parser application which can process the XML, and turn it into the format you desire.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: