filebot/installer/chocolatey/tools/chocolateyUninstall.ps1

10 lines
218 B
PowerShell
Raw Normal View History

$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'FileBot'"
2013-12-26 07:36:48 +00:00
echo $app
if ($app -eq $null) {
echo 'FileBot is not installed.'
} else {
$app.Uninstall()
echo 'FileBot has been uninstalled.'
}