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

WinRM Management Consideration

Infrastructure needs to be able to leverage scripting automation to perform Vulnerability Remediation, Resource Provisioning,…

Fix Missing User Special Folders

1. create C:\Users\KimConnect\Pictures 2. Regedit >> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders >> modify "My Pictures" value to…

PowerShell: Moving Guest VMs in Hyper-V in Conjunction with Microsoft Failover Cluster

This code is outdated. Refactor before reuse.. ############################################################################################################### # HyperV-MoveVM.ps1 # Assumption: Hyper-V has been…
Other project: DragonCoin.com