This command list the software that is available on the Windows machine. It can be useful to enumerate the software versions and check for known vulnerabilities and public exploit. Use exploit-db.
wmic product get name,version,vendor