Remote Uninstall NCache
NCache provides another PowerShell script called UninstallNCache.ps1 which helps to uninstall NCache from the remote machine in silent mode. You can find this script on GitHub.
Remote Uninstallation
To remotely uninstall NCache, do the following:
Download the GitHub repository.
From the machine from where you’re uninstalling NCache remotely, run PowerShell as an administrator.
Go to the path where you have downloaded the GitHub repository and open the scripts folder.
Execute the following commands, modifying the values according to your environment. Note that the server names must be separated by a blank space. The names can be computer names or IP addresses of the systems. It is assumed that NCache is installed on the default path C:/Program Files.
Single Server Uninstallation
The example given below uninstalls NCache on remote machine 20.200.20.39. Use your own remote machine IP instead of the IP used in the example.
./UninstallNCache.ps1 20.200.20.39
Multiple Server Uninstallation
The example given below uninstalls NCache on three machines (20.200.20.38, 20.200.20.39, and 20.200.20.40). Use your server IPs instead of the IPs used here.
./UninstallNCache.ps1 20.200.20.38 20.200.20.39 20.200.20.40
Note
Upon successful uninstallation, you will see a message with "Return Value:0
" or 1614
.
See Also
Evaluation Period Management
License Management
Command Line Installation
Windows Installation