16 lines
635 B
PowerShell
16 lines
635 B
PowerShell
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
|
|
|
|
## Stop the DeltekVision process
|
|
Remediation-StopProcess -Name "DeltekVision" -Force
|
|
|
|
## 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!" } |