Command Shell (CMD) to get list of all software installed on the windows machine

I had a request from the auditing team to get a list of all the software installed on a windows machine. We can view all the software installed in control panel but I needed to get a text output of the result so I can put it in a word document and send it to the auditors.

I found this cmd shell script that you can run to get this data. Then copy the data from the command window and paste it to any word document, excel or notepad – your choice.

Make sure you open the command shell window in administrator mode.

Get-WmiObject -Class Win32_Product | Select-Object -Property Name, Version, Vendor, InstallDate

Hope this helps.