From 6765a0fa0cec81ec45746e46a86f9335ec957179 Mon Sep 17 00:00:00 2001 From: dyoder Date: Fri, 9 Jul 2021 21:06:13 -0400 Subject: [PATCH] added request handler agent uninstaller --- Uninstall-NCentralComponents.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Uninstall-NCentralComponents.ps1 b/Uninstall-NCentralComponents.ps1 index ab4fadb..7cbd236 100644 --- a/Uninstall-NCentralComponents.ps1 +++ b/Uninstall-NCentralComponents.ps1 @@ -6,4 +6,9 @@ If ( Test-Path "${Env:ProgramFiles(x86)}\MspPlatform\FileCacheServiceAgent\unins000.exe" ) { LogMsg "Uninstalling N-Central File Cache Service Agent" Start-Process "${Env:ProgramFiles(x86)}\MspPlatform\FileCacheServiceAgent\unins000.exe" -ArgumentList "/SILENT" -Wait +} + +If ( Test-Path "${Env:ProgramFiles(x86)}\MspPlatform\RequestHandlerAgent\unins000.exe" ) { + LogMsg "Uninstalling N-Central Request Handler Agent" + Start-Process "${Env:ProgramFiles(x86)}\MspPlatform\RequestHandlerAgent\unins000.exe" -ArgumentList "/SILENT" -Wait } \ No newline at end of file