Unregister-NCAzCache
The Unregister-NCAzCache cmdlet deactivates NCache on all servers in the specified environment or on a list of selected servers. This cmdlet is used to unregister and deactivate NCache across multiple servers.
Unregister-NCAzCache -EnvName -Key [-Server] [-Port] [-Credentials]
Example
- This command deactivates NCache on all servers in the "Production" environment using the specified license key:
Unregister-NCAzCache -EnvName Production -Key XXXXXXX-XXXXXXXXXXXXXX
- This command deactivates NCache on specific servers (10.0.0.4 and 10.0.0.5) using the specified license key and port:
UnRegister-NCAzCache -EnvName Production -Key XXXXXXX-XXXXXXXXXXXXXX -Server "10.0.0.4,10.0.0.5" -Port 8090
Properties
Note
Parameters marked with an asterisk (*) are required. All others are optional.
| Parameter | Data Type | Description | Default Value |
|---|---|---|---|
-EnvName* |
<String> |
Specifies the name of the environment where NCache will be deactivated. | - |
-Key* |
<String> |
The license key to be used for deactivation. | - |
-Server |
<String> (comma-separated) |
The specific servers from which NCache will be deactivated. If not provided, NCache will be deactivated on all servers in the environment. | Local Machine |
-Port |
<long> |
The port on which NCache will be deactivated. | 8250 |
-Credentials |
<Credentials> |
Specifies the credentials for the user deactivating NCache. | - |
-NoLogo |
<SwitchParameter> |
If specified, disables the display of the logo during deactivation. | False |