GuideProgramming + ScriptingPowershell Uninstall Software matching name Updated August 16 2024
#Display apps matching this name
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "Epson" }; foreach ( $thisapp in $app) { write-host $thisapp.name }

# Uninstall apps matching this name
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "Epson" }; foreach ( $thisapp in $app) { write-host $thisapp.name; $app.Uninstall() }


Keywords: Uninstall multiple programs at once, batch file, powershell, remove, uninstall, delete, program, application, wildcard, command prompt, batch, cmd




©2024 - Some portions of this website are Copyrighted.
Your IP: 3.21.98.78     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy