added script

This commit is contained in:
2021-07-09 21:02:44 -04:00
parent 5276e5acce
commit 15341aba1b
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
If ( Test-Path "${Env:ProgramFiles(x86)}\MspPlatform\PME\unins000.exe" ) {
LogMsg "Uninstalling N-Central Patch Management Service Controller"
Start-Process "${Env:ProgramFiles(x86)}\MspPlatform\PME\unins000.exe" -ArgumentList "/SILENT" -Wait
}
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
}
+2
View File
@@ -0,0 +1,2 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
Run-Script -LivePSScript Uninstall-NCentralComponents