2018-04-19 15:09:51 +02:00
|
|
|
# vDOS Removal
|
|
|
|
# 2011-2018 foo.li systeme + software
|
|
|
|
|
|
|
|
$packageName = 'vdos'
|
2018-07-06 14:17:11 +02:00
|
|
|
$version = '2018.05.01'
|
2018-04-19 15:09:51 +02:00
|
|
|
$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
|
|
|
|
}
|