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