major update to override Write-Output func

This commit is contained in:
2023-10-05 13:11:38 -04:00
parent 31a06a9206
commit bbb4884818
52 changed files with 377 additions and 378 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ End-Process -Name "DeltekVision" -Force
$APP_PATH = "${Env:UserProfile}\AppData\Local\Apps\2.0"
If ( Test-Path $APP_PATH ) {
## Delete the existing installed app
LogMsg "Deleting ""${APP_PATH}"""
Write-Output "Deleting ""${APP_PATH}"""
Try { Remove-Item $APP_PATH -Recurse -Force }
Catch { LogErr $_.Exception.Message }
} Else { LogMsg "The path specified does not exist: ${APP_PATH}" }
} Else { Write-Output "The path specified does not exist: ${APP_PATH}" }