Remove-BridgeCache
Remove-BridgeCache
cmdlet 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] [-UserId] [-Password] [-NoLogo]
These properties are explained in detail in the Properties section.
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 |
---|---|---|---|
-CacheFullName* |
<String> |
Specifies the clustered cache name with 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 with the specified bridge-name is registered. | - |
-Name* |
<String> |
Specifies the name of the bridge registered on the server. | - |
-Force |
<SwitchParameter> |
Specifies forceful removal of cache from running bridge. | False |
-Port |
<Integer> |
Specifies the port on which the NCache bridge service is listening. | TBD |
-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 |
<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 |