Remote Uninstallation
NCache provides another PowerShell script called UninstallNCache.ps1 which helps to uninstall NCache from remote machine in silent mode.
You should find the UninstallNCache.ps1 script at [InstallDir]/Integration/PowerShell/UninstallNCache.ps1
PS C:/Users>./UninstallNCache.ps1 ServerName1 ServerName2 ... n
Important
Server names must be separated with by BLANK space. The names can be computer names or IP addresses of the systems.
Example
In this example, we will uninstall NCache Cache Server from three computers
(Test1, Test2, and Test3) using the PowerShell script UninstallNCache.ps1. It is
assumed that that NCache is installed on the default path C:/Program Files
.
PS C:/Program Files/ncache/integration/PowerShell> ./UninstallNCache.ps1 Test1 Test2 Test3
Note
Replace the server “Test1, Test2, Test3” with your own server names.
This will uninstall NCache from all Cache servers Test1, Test2 and Test3.
Upon successful uninstallation you should see a message with “Return Value:0
” or 1614
.