Remote Uninstall NCache
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 %NCHOME%/Integrations/PowerShell.
To remote uninstall NCache, do the following:
From the machine from where you’re uninstalling NCache remotely, search for Windows PowerShell and select Run as Administrator.
Go to the directory %NCHOME%/Integrations/PowerShell.
Execute the following commands, modifying the values according to your environment. Note that the server names must be separated by BLANK space. The names can be computer names or IP addresses of the systems. It is assumed that that NCache is installed on the default path C:/Program Files.
- Single Server Uninstallation
This example uninstalls NCache on remote machine 22.214.171.124. Please replace the server IP “126.96.36.199” with your own remote machine IP.
- Multiple Server Uninstallation
This example uninstalls NCache on three machines (188.8.131.52,184.108.40.206 and 220.127.116.11). Please replace these server IPs with your own remote cache server machine IPs.
./UninstallNCache.ps1 18.104.22.168 22.214.171.124 126.96.36.199
Upon successful uninstallation you will see a message with "
Return Value:0" or