mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-25 01:08:52 -05:00
9 lines
220 B
PowerShell
9 lines
220 B
PowerShell
$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = '@{application.name}'"
|
|
|
|
if ($app -eq $null) {
|
|
echo 'FileBot is not installed.'
|
|
} else {
|
|
$app.Uninstall()
|
|
echo 'FileBot has been uninstalled.'
|
|
}
|