Remote Uninstall NCache in Professional Edition
NCache provides you with another PowerShell script called UninstallNCache.ps1 which uninstalls NCache in silent mode from your remote machine. The UninstallNCache.ps1 script is located at %NCHOME%/Integrations/PowerShell.
Do the following for remote installation of NCache:
From the machine where NCache is being uninstalled from, search for Windows PowerShell and select Run as Administrator.
Access the directory %NCHOME%/Integrations/PowerShell.
Modify the values according to your environment by running the following commands. Note that the server names must be separated by BLANK space. They can be named by computers or IPs of the machines. It is assumed that that NCache is assumed to be installed on the path C:/Program Files which is the default path.
- Single Server Uninstallation The example given below uninstalls NCache on remote machine 20.200.20.29. Use your own remote machine IP instead of the IP used in the example.
./UninstallNCache.ps1 20.200.20.29
- Multiple Server Uninstallation The example given below uninstalls NCache on three machines (20.200.20.29,20.200.20.30 and 20.200.20.31). Use your own server IPs insted of the IPs used here.
./UninstallNCache.ps1 20.200.20.29 20.200.20.30 20.200.20.31
Upon successful installation you will see a message with "
Return Value:0
" or1614
.- If the uninstallation is succesful, a messsage will be displayed with "
Return Value:0
" or1614
.
See Also
Evaluation Period Management
License Management
Command Line Installation
Windows Installation