• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Remove-ClientCache

The Remove-ClientCache cmdlet removes the Client Cache configuration associated with a clustered cache. After removal, the client will no longer use data from the client cache (L1 cache), and communication will revert to direct interaction with the clustered cache (L2 cache).

Remove-ClientCache -CacheName [-Port] `
                    [-Server] [-Credentials] `
                    [-TlsCertPath] [-TlsCertPassword] `
                    [-NoLogo]

Examples

  • This command removes the Client Cache configured for defaultCache on the local server.
Remove-ClientCache -CacheName defaultCache
  • This command removes the Client Cache configured for defaultCache on server 20.200.20.11.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11
  • This command specifies the port to remove Client Cache configuration on server 20.200.20.11.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
                   -Port 9803
  • This command removes the Client Cache configuration using security credentials.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
                   -Credentials(Get-Credential john_smith)
  • This command removes the Client Cache configuration associated with defaultCache on server 20.200.20.11 using a client PEM certificate and password for mutual TLS (mTLS) authentication.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
                   -TlsCertPath "C:\certs\client.pem" -TlsCertPassword "clientKeyPassword"

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 clustered cache whose Client Cache configuration is removed. -
-Port <Integer> Specifies the server port where NCache server is listening. 9803
-Server <String> Specifies the name or IP address of the NCache server where the clustered cache is registered. IP of local machine
-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. -
-TlsCertPath <String> Specifies the path to a client PEM certificate for mTLS authentication. The PEM file must contain the private key, leaf certificate, and any intermediate certificates. This is required when running the PowerShell module from a machine without NCache installed and connecting to a server that requires mTLS. On an NCache server installation, the node's own certificate is used automatically. Relative paths are resolved from the current PowerShell location. A certificate can be generated using New-NCacheTlsCertificate. -
-TlsCertPassword <String> Specifies the password for the encrypted private key in the PEM file provided through -TlsCertPath. Omit this parameter if the private key is not encrypted. The password is used only for the current command and is not saved in the NCache server configuration. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top