12 lines
392 B
PowerShell
12 lines
392 B
PowerShell
## Set the path to Deltek Vision
|
|
$APP_PATH = "${Env:UserProfile}\AppData\Local\Apps\2.0"
|
|
|
|
## Test to make sure it's installed for the current user before continuing
|
|
If ( Test-Path $APP_PATH )
|
|
{
|
|
## Delete the existing installed app
|
|
Try { Remove-Item $APP_PATH -Recurse -Force }
|
|
Catch { Write-Output $_.Exception.Message }
|
|
|
|
} Else { Write-Output "${APP_PATH} does not exist!" }
|