Your cart is currently empty!
PowerShell Command to Get List of Installed Programs: If you want to see a list of all the programs installed on your Windows system, you can use the following PowerShell command:
Title: PowerShell Command to Get List of Installed Programs
In this article, we will be discussing how to use PowerShell to get a list of all installed programs on your Windows system. PowerShell, a task automation framework from Microsoft, is an integral part of the Windows operating system and is a powerful tool that can be used to carry out a range of tasks. One such task is the listing of all installed programs on your system.
Step 1: Open PowerShell
There are several ways to open PowerShell. The quickest way is to press “Windows + X” and then choose “Windows PowerShell” from the drop-down menu. Another way is to simply search for ‘PowerShell’ in your Windows search bar and click on the application.
Step 2: Input Command
The following command can be used to get a list of all installed programs:
“`
Get-WmiObject -Query “Select * from Win32_Product”
“`
After you have opened PowerShell, simply copy and paste the above command and hit enter. This command uses the WMI (Windows Management Instrumentation) interface to query for all instances of the ‘Win32_Product’ class, which represents software installed on the Windows system.
Step 3: Interpret the Output
Once you hit enter, PowerShell will execute the command and return a list of all installed programs. Each program will be listed with several properties, such as IdentifyingNumber, Name, Vendor, Version, and Caption.
For example, an output might look something like this:
“`
IdentifyingNumber : {90160000-008F-0000-1000-0000000FF1CE}
Name : Office 16 Click-to-Run Extensibility Component
Vendor : Microsoft Corporation
Version : 16.0.4266.1001
Caption : Office 16 Click-to-Run Extensibility Component
“`
This tells you that Microsoft Office 16 Click-to-Run Extensibility Component is installed on your system, along with its version number and other details.
Step 4: Filter the Output
If you want to see only specific properties of the installed programs, you can modify the command to filter the output. For example, if you only want to see the names of the installed programs, you can use the following command:
“`
Get-WmiObject -Query “Select * from Win32_Product” | Select-Object -Property Name
“`
This command uses the ‘Select-Object’ cmdlet to filter the output to only show the ‘Name’ property of each installed program.
In conclusion, PowerShell provides a powerful and flexible way to get a list of all installed programs on your Windows system. By understanding and using the commands demonstrated in this article, you can easily keep track of the software installed on your systems.