Get list of software installed from a remote computer
Have you ever needed to get a quick local inventory of installed software across your network? You can use the WMIC command from the DOS CLI.
Simply run the following command:
wmic /user:”localhost\UserName” /password:”UsersPassword” /node:”RemoteHostname” product get name,version,vendor
You can copy and paste this to a command prompt on your machine, just be sure to keep the “quotation marks” when replacing those fields.
For the user: field above, I have localhost\UserName listed. This is because I am sending a local user account which has proper rights to retrieve the WMIC query. When on a domain you would want to use an account with sufficient rights like user:”MyDomain\Administrator”
with this method it will return all software that was installed by an msi package, so some software may not be listed but as a basic quick inventory it will usually suffice.
If you would like the information more manageable then you can create the same list in a CSV file. To do so run the following:
wmic /user:”localhost\UserName” /password:”UsersPassword” /node:”RemoteHostname” product get name,version,vendor /format:csv > C:\SoftwareInstalled.csv
For a more powerful approach you can also do this using powershell. Check out: Get list of software installed from a remote computer via WMI and PowerShell