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

Unregister-NCacheLicense

The Unregister-NCacheLicense PowerShell cmdlet deactivates an NCache license on a machine so that the license can be used to activate another machine. It supports online and offline deactivation and connections to NCache servers configured with mutual TLS (mTLS).

Unregister-NCacheLicense [-Key] [-OfflineDeactivate] `
                         [-Server] [-Port] [-NoLogo] `
                         [-TlsCertPath] [-TlsCertPassword] `
                         [-Credentials]

Examples

  • This command deactivates NCache on the local server.
Unregister-NCacheLicense -Key xxxxxxxx-xxxxxx-xxxxxxxx
  • This command deactivates NCache on server 20.200.20.11.
Unregister-NCacheLicense -Key xxxxxxxx-xxxxxx-xxxxxxxx -Server 20.200.20.11
  • This command generates a Deactivation Request URL for offline deactivation. Copy the URL to another computer with internet access and open it there to complete license deactivation.
Unregister-NCacheLicense -Key xxxxxxxx-xxxxxx-xxxxxxxx -OfflineDeactivate
  • This command deactivates NCache on server 20.200.20.11 from a machine where NCache is not installed, when the server requires mutual TLS (mTLS). If the client certificate is password-protected, specify its password using the -TlsCertPassword parameter.
Unregister-NCacheLicense -Key xxxxxxxx-xxxxxx-xxxxxxxx -Server 20.200.20.11 `
                         -TlsCertPath "C:\certs\client.pem" `
                         -TlsCertPassword "clientKeyPassword"

Omit -TlsCertPassword if the private key is not encrypted.

Properties

Note

The parameters shown in the syntax are optional according to the supplied help. The deactivation examples use -Key to identify the license being deactivated.

Parameters Data Types Description Default Value
-Key <String> Specifies the deactivation key for the license to deactivate. -
-OfflineDeactivate <SwitchParameter> Generates a Deactivation Request URL for deactivating a server without internet access. Open the URL on another computer with internet access to complete deactivation. False
-Server <String> Specifies the server where the NCache Service is running. Local machine
-Port <Long> Specifies the port used to communicate with the NCache Service. -
-TlsCertPath <String> Specifies the path to the client PEM certificate used when connecting to an NCache server that requires mTLS. The PEM file must contain the private key, leaf certificate, and any intermediate certificates. This parameter is required when running the PowerShell module from a machine where NCache is not installed and the server requires mTLS. On a machine with an NCache server installation, the node's certificate is used automatically. Relative paths are resolved against 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 for an unencrypted private key. The password is used only for the current command's connections and is not saved in the server configuration. -
-Credentials <pscredential> Specifies the credentials required to authorize access to the NCache server. The user must have appropriate permissions on the node. -
-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