Another quick post to show how to list installed programs in Add/Remove programs on local and/or remote machine(s).
wmi is what makes this possible and the command we need on local machine is as follows:
wmic product get name,version
– on remote one we have to add node parameter to our wmi statement:
wmic /node:”FQDN_Goes_Here” product get name,version
Either one can be exported by adding:
/format:csv > Export.csv
at the end.
That’s it!