Remove-ClientCache - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to remove an already existing client cache from the client node.
Note
This feature is only available in NCache Enterprise.
Remove-ClientCache [-CacheName] -ClientNode [-ClientCacheName] [-Port] [-Server] [-Credentials] [-NoLogo]
Examples of Remove-ClientCache - PowerShell Cmdlet
- This PowerShell Cmdlet removes client cache named demoClientCache from a clustered cache named demoCache and client node 20.200.20.11.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache -ClientNode 20.200.20.11
- This PowerShell Cmdlet removes client cache named demoClientCache from a clustered cache named demoCache and client node 20.200.20.11 on server node 20.200.20.12.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache -ClientNode 20.200.20.11 –Server 20.200.20.12
- This command removes used port to remove client cache named demoClientCache on client node 20.200.20.12 for an already registered clustered cache on server 20.200.20.11.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache -Server 20.200.20.11 -ClientNode 20.200.20.12 -Port 8250
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies the name of the clustered cache on which client cache exists. | - |
-ClientNode* |
<String> |
Specifies the client node on which the client cache exists which needs to be removed. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-ClientCacheName* |
<String> |
Specifies the name or Id of the client cache to be removed. | - |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-Server |
<String> |
Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. Client configuration is copied from this server to the destination server. | Local Machine |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |