Remove-ClientCache
Note
This feature is only available in NCache Enterprise Edition.
Remove-ClientCache
cmdlet enables the user to remove already existing client
cache from client node.
Remove-ClientCache [-CacheName] -ClientNode [-ClientCacheName] [-NoLogo] [-Password] [-Port] [-Server] [-UserId]
These properties are explained in detail in the Properties section.
Examples
- This command removes client cache named demoClientCache from a clustered cache named demoCache and client node 20.200.20.11 using default port 8250.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache -ClientNode 20.200.20.11
- This command 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
Properties
Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-ClientNode* |
<String> |
Specifies the client node on which the client cache exists which needs to be removed. | - |
-CacheName* |
<String> |
Specifies the name of the clustered cache on which client cache exists. | - |
-ClientCacheName* |
<String> |
Specifies the name of the client cache to be removed. | - |
-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 |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-UserID |
<String> |
Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. | - |
-Password (Enterprise edition only) |
<String> |
Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |