Remove-BridgeCache
This PowerShell Cmdlet enables the users to remove an existing clustered cache from a specified bridge.
Remove-BridgeCache [-Name] -CacheFullName -Server [-Force] [-Port] [-Credentials] [-NoLogo]
Examples of Remove-BridgeCache
- 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 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 with the appropriate permissions at the node. |
- |
remove-bridgecache [-name] -cachefullname -server [-force] [-port] [-userid] [-password] [-nologo]
Examples of Remove-BridgeCache
- 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 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 |
-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. |
- |