Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rossarioking/bf60c19bfd7295fef878981fb1a13e84 to your computer and use it in GitHub Desktop.
Save rossarioking/bf60c19bfd7295fef878981fb1a13e84 to your computer and use it in GitHub Desktop.
Powershell Script to Check for Specific Application Install
$applicationDisplayName = "Your Application Name" # Replace with the name of the application you want to check
$regPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*"
$installedApps = Get-ItemProperty -Path $regPath | Where-Object { $_.DisplayName -eq $applicationDisplayName }
if ($installedApps) {
Write-Host "$applicationDisplayName is installed."
}
else {
Write-Host "$applicationDisplayName is not installed."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment