12 lines
496 B
PowerShell
12 lines
496 B
PowerShell
## Stop the DeltekVision process
|
|
End-Process -Name "DeltekVision" -Force
|
|
|
|
## Test to make sure it's installed for the current user before continuing
|
|
$APP_PATH = "${Env:UserProfile}\AppData\Local\Apps\2.0"
|
|
If ( Test-Path $APP_PATH ) {
|
|
## Delete the existing installed app
|
|
Write-Output "Deleting ""${APP_PATH}"""
|
|
Try { Remove-Item $APP_PATH -Recurse -Force }
|
|
Catch { Write-Error $_.Exception.Message }
|
|
|
|
} Else { Write-Output "The path specified does not exist: ${APP_PATH}" } |