make agent uninstall silent

This commit is contained in:
2021-07-30 09:24:33 -04:00
parent 88e4e957d2
commit c141ac1ade
+1 -1
View File
@@ -30,7 +30,7 @@ If ( Test-Path "${ProgramFiles(x86)}\N-able Technologies\Windows Software Probe\
## Remove Windows Agent ## Remove Windows Agent
LogMsg "Attempting to uninstall N-Central 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 } Catch { LogErr $_.Exception.Message }
## Remove NablePatchRepositoryService ## Remove NablePatchRepositoryService