LKBEN11499: Find out which software is installed on my Windows PC with powershell


Symptom

You need to extract all locally installed software on your computer

Cause

Needed to make a software inventory

Solution

To do this you need to open a windows powershell as administrator. The following command will show you a list of applications:

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

If you want to find all 64-bit and 32-bit programs you can also enumerate the Uninstall keys in the registry. This can be done with the following two powershell commands:

Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* |select-object DisplayName,DisplayVersion, Publisher, URLInfoAbout

and for 32-bit programs:

Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* |select-object DisplayName,DisplayVersion, Publisher, URLInfoAbout

If you want to save this information to a file you can pipe this information to a file.

If you need to get the Identifyingnumber, you can use the following:

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

Have fun.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 24/01/2023 | Comment: