<p>Is there a simple way to hook into the standard '<strong>Add or Remove Programs</strong>' functionality using PowerShell to <strong>uninstall an existing application</strong>? Or to check if the application is installed?</p>

```
```
$app = Get-WmiObject -Class Win32_Product | Where-Object { 
    $_.Name -match "Software Name" 
}

$app.Uninstall()
```
```
Edit:
Rob found another way to do it with the Filter parameter:
```
```
$app = Get-WmiObject -Class Win32_Product `
                     -Filter "Name = 'Software Name'"
```
```