• Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Try NCache
  • Contact Us
Try NCache
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 to authenticate this cmdlet when the target NCache server requires Mutual TLS. This parameter is required for Mutual TLS connections even when the cmdlet runs on an NCache server. The PEM file must contain the private key, leaf certificate, and any intermediate certificates. Relative paths are resolved against the current PowerShell location, and the file must exist. You can generate a client certificate 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
Try NCache
Pricing
NCache Playground

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

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Terms of Use
  •  
  • Privacy Policy
  •  
  • Cookie Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
  • Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS