Remote Uninstall NCache in Open Source
NCache provides another PowerShell script called UninstallNCache.ps1 that helps uninstall NCache through silent mode by a remote computer. The UninstallNCache.ps1 script should be located at %NCHOME /percentage/Integrations/PowerShell.
In order to remotely uninstall NCache, perform the following:
Check for PowerShell from the computer from which you want to remotely uninstall NCache.
Access the directory from %NCHOME%/Integrations/PowerShell.
Run the following commands and adjust the values according to your environment. Note that BLANK space must be used to separate the server names that can either be computer names or systems' IP addresses. NCache is assumed to be installed on the default path i.e. C:/Program Files.
- Single Server Uninstallation
The following example uninstalls NCache on the remote machine 18.104.22.168. Please use your own server IP instead of the server IP “22.214.171.124” with your own remote machine IP.
- Multiple Server Uninstallation
The example given below uninstalls NCache on three machines (126.96.36.199,188.8.131.52 and 184.108.40.206). Please use your own server and client IPs instead of the server and client APIs given in the example.
./UninstallNCache.ps1 220.127.116.11 18.104.22.168 22.214.171.124
If the installation is successful, you will see a message with "
Return Value:0" or