Remove-BridgeCache
This enables the users to remove an existing clustered cache from a specified bridge. Note that the cache name provided must include the full cache name with environment.
Remove-BridgeCache [-Name] -CacheFullName -Server [-Force] [-Port] [-Credentials] [-NoLogo]
Examples
- This command removes an existing clustered cache named demoCache.WestCoast from the bridge demoBridge on 20.200.20.11.
Remove-BridgeCache -Name demoBridge -Server 20.200.20.11 -CacheFullName demoCache.WestCoast
- This command removes the clustered cache demoCache.WestCoast forcefully from the bridge demoBridge even if the bridge is in running state.
Remove-BridgeCache -Name demoBridge -Server 20.200.20.11 -CacheFullName demoCache.WestCoast -Force
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Name* |
<String> |
Specifies the name of the bridge registered on the server. | - |
-CacheFullName* |
<String> |
Specifies the clustered cache name with the environment that has to be removed from the bridge. | - |
-Server* |
<String> |
Specifies the server name where the NCache Bridge Service is running and a bridge registered with the specified bridge-name. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Force |
<SwitchParameter> |
Specifies forceful removal of cache from running bridge. | False |
-Port |
<Integer> |
Specifies the port on which the NCache bridge Service is listening. | -1 |
-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. | - |