Stopping a Cache
To stop a cache or multiple caches on a particular server, NCache provides a
Stop-Cache [-Name] [-NoLogo] [-Port] [-Server]
The parameters of this cmdlet and their descriptions are explained below.
- The following is an example where the cache named demoClusteredCache is stopped on local server.
Stop-Cache –Name demoClusteredCache
- The following command stops multiple caches demoCache and demoClusteredCache on local server.
- The example shown below stops a cache named demoClusteredCache on server node 18.104.22.168 using port number 8250.
Stop-Cache –Name demoClusteredCache –Server 22.214.171.124 -Port 8250
Note: The parameters with an asterisk (*) with their names are the required parameters and the rest are optional.
|Parameters||Data Types||Description||Default Value|
||Specifies one or more name(s) of caches separated by comma which are registered on the server. Those cache(s) is/are stopped on the server. Note: Comma separated cache names are to be specified in case of multiple caches only.||-|
||Specifies the server name where NCache Service is running and the user wants to stop the cache on that particular server node||Local Machine|
||Specifies the management port on which the NCache server is listening if the server channel is not using the default port.||8250|
||Suppresses display of the logo banner.||False|