1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00
filebot/installer/chocolatey/tools/chocolateyUninstall.ps1
2013-12-26 07:36:48 +00:00

10 lines
215 B
PowerShell

$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'FileBot'"
echo $app
if ($app -eq $null) {
echo 'FileBot is not installed.'
} else {
$app.Uninstall()
echo 'FileBot has been uninstalled.'
}