Remove-CustomDependency - PowerShell Cmdlet
This PowerShell Cmdlet removes the preconfigured custom dependency providers from the cache or specified servers.
Note
This feature is only available in NCache Enterprise.
Remove-CustomDependency [-CacheName] [-Port] [-ProviderName] [-Server] [-Credentials] [-NoLogo]
Examples of Remove-CustomDependency - PowerShell Cmdlet
- This PowerShell Cmdlet removes the preconfigured custom dependency provider for demoCache.
Remove-CustomDependency -CacheName demoCache -ProviderName MyCustomeDependencyProvider
- This PowerShell Cmdlet removes the preconfigured custom dependency provider for demoCachewhich exists on the server 20.200.20.11
Remove-CustomDependency -CacheName demoCache -ProviderName MyCustomDependencyProvider -Server 20.200.20.11
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies the name of the cache for which custom dependency provider needs to be removed. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Port |
<Integer> |
Specifies the port on which NCache Service is listening. | 8250 |
-ProviderName* |
<String> |
Specifies the provider name that needs to be removed from the cache. | - |
-Server |
<String> |
Specifies the NCache server name or IP. | - |
-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. | - |