chocolatey/packages/vdos/tools/chocolateyuninstall.ps1
2022-07-31 21:43:07 +02:00

18 lines
393 B
PowerShell
Executable File

# vDOS Removal
# 2011-2022 foo.li systeme + software
$packageName = 'vdos'
$version = '2022.05.01'
$vdosPath = "$env:SystemDrive" + "\vDos"
try {
if (Test-Path $vdosPath) {
Write-Host 'removing directory ' $vdosPath
Remove-Item $vdosPath -Recurse -Force
} else {
Write-Host 'could not detect ' $vdosPath ' files.'
}
} catch {
throw $_.Exception
}