Site icon Kommands.com

Retrieving a List of Installed Software: Command Line

Retrieving a list of software installed on a computer can be useful for troubleshooting, inventory management, or software compliance. Windows provides two built-in tools, Command Prompt and PowerShell, to easily retrieve a list of installed software on a computer. In this article, we will go over the steps and commands to use both Command Prompt and PowerShell to retrieve a list of installed software.

Command Prompt Method:

  1. Open the Command Prompt by pressing the Windows key + R, typing “cmd” and pressing Enter.
  2. Type the following command and press Enter:
wmic /output:C:\installed_software.txt product get name, version

This command will create a text file named “installed_software.txt” in the C: drive that will contain a list of all the software installed on the computer, along with their versions.

  1. To view the contents of the text file, type the following command and press Enter:
notepad C:\installed_software.txt

This will open the text file in Notepad, where you can view the list of installed software.


PowerShell Method:

  1. Open PowerShell by pressing the Windows key + X and selecting PowerShell.
  2. Type the following command and press Enter:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | 
Select-Object DisplayName, DisplayVersion | 
Format-Table –AutoSize > C:\installed_software.txt

This command will also create a text file named “installed_software.txt” in the C: drive that will contain a list of all the software installed on the computer, along with their versions.

  1. To view the contents of the text file, type the following command and press Enter:
notepad C:\installed_software.txt

This will open the text file in Notepad, where you can view the list of installed software.


Alternatively, you can use the Get-WmiObject cmdlet to get a list of installed software on a computer, here is an example:

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

This will give you the list of installed software with the name and version in the PowerShell console.

Using either the command prompt or PowerShell, you can easily get a list of software installed on a computer. Both methods involve using a specific command that creates a text file containing the list of installed software, which can then be viewed using Notepad or PowerShell console.

Exit mobile version