Remove-BridgeCache
This PowerShell cmdlet enables the user to remove an existing clustered cache from a specified Bridge. After removal, the cache will no longer be involved in bridge replication, though any existing data on the target cache remains until manually cleared.
Remove-BridgeCache -Name -CacheFullName -Server [-Force] [-Port] [-Credentials] [-NoLogo]
Examples
- This command removes an existing clustered cache named demoCache.WestCoast from the Bridge named 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 named demoBridge, even if the Bridge is running.
Remove-BridgeCache -Name demoBridge -Server 20.200.20.11 -CacheFullName demoCache.WestCoast -Force
- This command removes an existing clustered cache named demoCache.WestCoast from the Bridge named demoBridge on 20.200.20.11 using security credentials.
Remove-BridgeCache -Name demoBridge -Server 20.200.20.11 -CacheFullName demoCache.WestCoast -Credentials (Get-Credential john_smith)
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. | 9900 |
-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. | - |