Remove-ClientCache
This PowerShell cmdlet enables the user to remove an already existing client cache from the client node.
Remove-ClientCache -CacheName -ClientNode [-ClientCacheName] [-Port] [-Server] [-Credentials] [-NoLogo]
Examples of Remove-ClientCache
- This PowerShell cmdlet removes Client Cache named demoClientCache from client node 20.200.20.11.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache -ClientNode 20.200.20.11
- This command removes client cache named demoClientCache on client node 20.200.20.11 for an already registered clustered cache on server 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 the clustered cache node with which the Client Cache is associated. |
Local Machine |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. |
- |
remove-clientcache -cachename -clientnode [-clientcachename] [-port] [-server] [-userid] [-password] [-nologo]
Examples of Remove-ClientCache
- This PowerShell cmdlet removes Client Cache named demoClientCache from client node 20.200.20.11.
remove-clientcache -cachename demoCache -clientcachename demoClientCache -clientnode 20.200.20.11
- This command removes client cache named demoClientCache on client node 20.200.20.11 for an already registered clustered cache on server 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 the clustered cache node with which the Client Cache is associated. |
Local Machine |
-userid |
<String> |
Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. |
- |
-password |
<String> |
Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. |
- |