This commit is contained in:
2020-08-14 14:19:37 -04:00
parent d18f8dad97
commit f2b358d8dd
24 changed files with 253 additions and 180 deletions
+19
View File
@@ -0,0 +1,19 @@
Function global:Remove-DeltekVision
{
## 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!" }
}
Export-ModuleMember -Function Remove-DeltekVision