Posted On January 12, 2023

How to Search for Installed Application by Name in PowerShell

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> How to Search for Installed Application by Name in PowerShell

One can search using the known Vendor or application Name as illustrated below:

[testwindows]: PS C:\Users\user1\Documents> Get-WmiObject -Class Win32_Product | ?{$_.Name -like '*exporter*'}


IdentifyingNumber : {EDD0CDE3-4519-4C1A-9FB4-C8C067615698}
Name              : windows_exporter
Vendor            : prometheus-community
Version           : 0.20.0
Caption           : windows_exporter

[btestwindows]: PS C:\Users\user1\Documents> Get-WmiObject -Class Win32_Product | ?{$_.Vendor -like '*prometheus*'}


IdentifyingNumber : {EDD0CDE3-4519-4C1A-9FB4-C8C067615698}
Name              : windows_exporter
Vendor            : prometheus-community
Version           : 0.20.0
Caption           : windows_exporter

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Function to Install Application and Its PowerShell Wrapper

# This function checks on whether a particular app has a corresponding PowerShell wrapper. If…

PowerShell: Get NIC MTU’s of All Hyper-V Hosts in Domain/Forest

# listHyperVHostsInForests.ps1 # Version: 0.02 function listHyperVHostsInForests{ # Ensure that AD management module is available…

Bash: How To Join Array With Comma Delimiter

# The following function joins an array of numbers # Limitation: the delimiter is expected…