filebot/installer/chocolatey/tools/chocolateyUninstall.ps1

9 lines
220 B
PowerShell
Raw Normal View History

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