Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all articles
Browse latest Browse all 4573

Answered: Generate Excel file with all software installed?

$
0
0

Example (for OCS >=2.8) :

select h.deviceid, h.name, sn.name, sv.version, s.comments
into outfile '/tmp/export.csv'
  fields terminated by ',' optionally enclosed by '"'
  lines terminated by '\n'
from hardware as h, software as s, software_name as sn, software_version as sv
where s.hardware_id=h.id and sn.id=s.name_id and sv.id=s.version_id and h.archive is null
order by h.name, sn.name, sv.version


Viewing all articles
Browse latest Browse all 4573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>