Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Scripts » Get a list of installed applications on Windows
  • Install SQL Server Management Studio 21 on Windows Server
    Install SQL Server Management Studio 21 on Windows Server Oracle/MSSQL/MySQL
  • admin6 1
    How to run Apps as an administrator on Windows Windows
  • How To Remove Takeprize50.life Redirect From Mac unboxhow
    Remove unwanted site redirects or pop-ups from Google Chrome Mac
  • how to fix the sorry this file type is not permitted for security reasons error in wordpress 5e4a5632967c7
    Error 1707: Network address invalid when trying to connect remotely Windows
  • OpenVz
    OpenVZ template on Proxmox Server: How to Guide Virtualization
  • Route53AWS
    Set up and configure Route 53 for your Domain in AWS AWS/Azure/OpenShift
  • Feature image DEP
    Disable Data Execution Prevention and determine that hardware DEP is available and configured Security | Vulnerability Scans and Assessment
  • win10
    How to add a device to Windows Windows

Get a list of installed applications on Windows

Posted on 22/12/202024/10/2024 Christian By Christian 8 Comments on Get a list of installed applications on Windows

Kindly visit the following hyperlinks for more information. How to uninstall built-in apps using PowerShell in Windows 10, how to uninstall a program via Command Prompt (CMD) in Windows. In this article, you will learn how to get a list of installed applications on Windows. PowerShell is a task-based command-line shell and scripting language built on .NET. Kindly visit the following hyperlinks for more information. How to uninstall built-in apps using PowerShell in Windows 10, how to uninstall a program via Command Prompt (CMD) in Windows.

By using PowerShell, system administrators can automate tasks and processes using the command line. Powershell script will be very useful for listing the installed applications. We will use Powershell script samples such as “Get-WmiObject -Class Win32_Product” to get installed products in Local and Remote machines.

We have created a new article for this topic “How to get the list of installed programs locally and on a remote computer in Windows“. See this guide on how to check if Windows Updates were Installed on your Computer using was, program and features, DISM and WMIC, etc. And how to find the AUMID of an installed UWP App.

Get-WmiObject vs Get-CimInstance to get list of Installed Applications

Note: Starting in PowerShell 3.0, the Get-WmiObject cmdlet has been superseded by Get-CimInstance. The Get-WmiObject cmdlet gets instances of WMI classes or information about the available WMI classes.

The CimCmdlets modules contain cmdlets that interact with Common Information Model (CIM) Servers like the Windows Management Instrumentation (WMI) service.

If you run into errors while running the CimInstance Cmdlets, please see “WinRM cannot complete the operation, verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled“

Part A

You can list the installed software programs using Powershell’s WMI Class Win32_Product. Also see how to remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image and how to determine Apps UWP and remove pre-provisioned appx in Windows 10.

List Installed Software using PowerShell on your PC

Here, FT is nothing but the Format-Table cmdlet, you can change it into FL to display the result in the list view. We will be using the command “Get-WMIObject -Class Win32_Product” to find installed programs.

Get-WMIObject -Query "SELECT * FROM Win32_Product" | FT

2: List Installed Applications using Powershell on Remote Computer

You can list the installed software programs from the Remote Machine by giving the name of the remote computer through the argument syntax -ComputerName.

Get-WMIObject -ComputerName "your-pc" -Query "SELECT * FROM Win32_Product" | FL

3: Get a List of Installed Programs using Powershell with Filter

You can use SQL Query-like syntax in the Win32_Product class. The following Powershell script, filters and lists only Non-Microsoft software.

Get-WMIObject -Query "SELECT * FROM Win32_Product Where Not Vendor Like '%Microsoft%'" |FT

Please see Get lists of installed Microsoft Windows Updates, Windows Management Instrumentation: WMI Commands. Also, see How to fix Get-CimInstance Access PermissionDenied.

4: Filter, and list only Microsoft-based software

Use the following PowerShell script, filter, and list only Microsoft-based software.

Get-WMIObject -Query "SELECT * FROM Win32_Product Where Vendor Like '%Microsoft%'" | FT

I hope you found this blog post helpful. In this guide, you have learned how to get a list of installed applications on Windows via PowerShell. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Scripts Tags:PowerShell, PowerShell version 7, PowerShellGet, Windows 10, Windows 11

Post navigation

Previous Post: Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10
Next Post: Full Disk Encryption with PBA or without PBA, UEFI, Secure Boot, BIOS, File and Directory Encryption and Container Encryption

Related Posts

  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts
  • powershell logo
    Connecting to a remote server failed and WinRM cannot process the request: Error code 0x8009030e occurred while using Kerberos authentication, and a specified logon session does not exist Scripts
  • hero activedirectory
    Create and find Organisation Unit paths in AD Scripts
  • maxresdefault 2
    How to uninstall Applications with PowerShell Script Scripts
  • 7164 1024x575 1
    How to install MDT PowerShell module on Windows Scripts

More Related Articles

Azure App Service How to Restore Deleted Azure App Service Using PowerShell Automation
wacxx Test Network Connection to Windows Admin Center Gateway Scripts
powershell logo Connecting to a remote server failed and WinRM cannot process the request: Error code 0x8009030e occurred while using Kerberos authentication, and a specified logon session does not exist Scripts
hero activedirectory Create and find Organisation Unit paths in AD Scripts
maxresdefault 2 How to uninstall Applications with PowerShell Script Scripts
7164 1024x575 1 How to install MDT PowerShell module on Windows Scripts

Comments (8) on “Get a list of installed applications on Windows”

  1. Avatar photo Shadetree Sam says:
    15/06/2022 at 11:09 PM

    Hi,
    Thanks for the clear, nicely written directions. I’m running Windows 10 Pro 64-bit v21H2, PowerShell v5.1, and for some reason I’m not getting a full list of installed apps and programs. (I’m using the Start Menu in “C:\ProgramData\Microsoft\Windows\Start Menu\Programs” as a reference.)

    Any idea why this might be?

    Thanks.

    Log in to Reply
    1. Avatar photo Raymond says:
      29/09/2022 at 5:19 PM

      It has been reported sadly that the Get-WmiObject command is depreciated and is no longer able to function. You may have to test with the Get-Cim… type commands.

      Log in to Reply
      1. chris Christian says:
        29/09/2022 at 5:25 PM

        Thanks a lot for the information. We will check this out and create a guide on it.

      2. Avatar photo Patrick says:
        27/01/2023 at 3:45 PM

        Hi,

        I am trying to use the code for getting a software list from a remote computer. I am new to PowerShell so I do not know what Get-Cim command is suitable to replace the Get-WmiObject command.

        Any help is much apricated.

      3. Avatar photo Christian says:
        31/01/2023 at 3:19 PM

        Hello Patrick,

        There are multiple ways to achieve this. Since you wish to achieve this with the Get-CimInstance cmdlet,  please try this command below:  

        Get-CimInstance -Class Win32_Product -Computer <remotecomputername>

      4. Avatar photo Patrick says:
        02/02/2023 at 11:38 AM

        Hi Christian,

        I am getting an error when I run the command you provided. You mentioned other ways of doing this, could you show some of these other ways.

      5. chris Christian says:
        03/02/2023 at 3:41 PM

        Hi Patrick,

        Please see this guide as it is time-consuming to publish a new guide. The steps here will help you. https://techdirectarchive.com/2023/02/03/winrm-cannot-complete-the-operation-verify-that-the-specified-computer-name-is-valid-that-the-computer-is-accessible-over-the-network/

  2. chris Christian says:
    04/02/2023 at 8:56 PM

    A new guide has been created for this topic: https://techdirectarchive.com/2023/02/04/how-to-get-the-list-of-installed-programs-locally-and-on-remote-computer-in-windows/

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Install SQL Server Management Studio 21 on Windows Server
    Install SQL Server Management Studio 21 on Windows Server Oracle/MSSQL/MySQL
  • admin6 1
    How to run Apps as an administrator on Windows Windows
  • How To Remove Takeprize50.life Redirect From Mac unboxhow
    Remove unwanted site redirects or pop-ups from Google Chrome Mac
  • how to fix the sorry this file type is not permitted for security reasons error in wordpress 5e4a5632967c7
    Error 1707: Network address invalid when trying to connect remotely Windows
  • OpenVz
    OpenVZ template on Proxmox Server: How to Guide Virtualization
  • Route53AWS
    Set up and configure Route 53 for your Domain in AWS AWS/Azure/OpenShift
  • Feature image DEP
    Disable Data Execution Prevention and determine that hardware DEP is available and configured Security | Vulnerability Scans and Assessment
  • win10
    How to add a device to Windows Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.