01-29-2008 05:07 AM
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
01-29-2008 05:44 AM
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
01-29-2008 05:55 AM
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
01-29-2008 06:44 AM
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.
01-29-2008 10:28 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide