New ITSM Script to Get System Software Inventory

Hi everyone,

First ITSM Script to start sharing… Getting system software inventory:


import subprocess;
process=subprocess.Popen([‘wmic’, ‘product’, ‘get’, ‘name,vendor,version,installdate’],shell=True,stdout=subprocess.PIPE);
for line in iter(process.stdout.readline,’’):
print line.rstrip();

Ilker

Great news! Please everybody, share your scripts so that everyone in the community can benefit. This is a FREE Platform for all MSPs and Enterprises to use. Lets give back to community!

Thank you and keep them coming, some of us are still churning through the changes so these are much appreciated.