I use the following snippets to dump installed programs on Windows machines via WMIC (Windows Management Instrumentation Commandline):
1 2 3 |
C:\Users\MyUser> wmic wmic:root\cli>/output:C:\tmp\InstallList.txt product get name,version wmic:root\cli>/output:C:\tmp\ServiceList.txt service |
The output can be processed as CSV