FeaturedPower ShellSCCMScripts

Find Specific Software – PS Script

Sometime you want to find a specific software installed on Remote or local machine by PS Script. Below Powershell Command will help you achieve the target.

 

$software = "Google Chrome";
$installed = (Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where { $_.DisplayName -eq $software }) -ne $null

If(-Not $installed) {
  Write-Host "'$software' NOT is installed.";
} else {
  Write-Host "'$software' is installed."
}




###############################################################################
############################### VERSION 2 ###################################

get-wmiobject win32_product | Where-Object { $_.name -like "Chrome" } | select name

get-wmiobject win32_product  | select name

Get-WmiObject -Class Win32_Product  | Where-Object -FilterScript {$_.Name -eq "Nessus Agent "} | Format-List -Property *

 

Show More

Related Articles

Back to top button