mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 05:45:05 -05:00
12 lines
257 B
PowerShell
12 lines
257 B
PowerShell
Invoke-Expression 'filebot -clear-cache'
|
|
|
|
$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.'
|
|
}
|