From c141ac1ade9167b45bb5fcbceb78b735d9c53f87 Mon Sep 17 00:00:00 2001 From: dyoder Date: Fri, 30 Jul 2021 09:24:33 -0400 Subject: [PATCH] make agent uninstall silent --- Uninstall-NCentralComponents.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uninstall-NCentralComponents.ps1 b/Uninstall-NCentralComponents.ps1 index bf8c7e2..c61e2b3 100644 --- a/Uninstall-NCentralComponents.ps1 +++ b/Uninstall-NCentralComponents.ps1 @@ -30,7 +30,7 @@ If ( Test-Path "${ProgramFiles(x86)}\N-able Technologies\Windows Software Probe\ ## Remove Windows Agent LogMsg "Attempting to uninstall N-Central Windows Agent" -Try { Start-Process "msiexec.exe" -ArgumentList "/X{F5873D07-85EE-4010-A461-B60989884B1C}" -Wait } +Try { Start-Process "msiexec.exe" -ArgumentList "/X{F5873D07-85EE-4010-A461-B60989884B1C} /qn" -Wait } Catch { LogErr $_.Exception.Message } ## Remove NablePatchRepositoryService