Register-NCAzCache
The Register-NCAzCache cmdlet activates NCache on all servers in the specified environment or on a list of selected servers. This cmdlet is useful for registering and activating NCache across multiple servers and managing various configuration options like licensing and client specifications.
Register-NCAzCache -EnvName -Key -FirstName -LastName -Email [-Company] [-Address] [-City] [-State] [-Country] [-Phone] [-ZipCode] [-Server] [-KeyType] [-Reactivate] [-Credentials] [-NoLogo] [-LicenseDuration] [-Clients] [-Recurring] [-Port]
Example
- This command activates NCache on all servers in the "Production" environment with a specified key and user information:
Register-NCAzCache -EnvName Production -Key XXXXXXX-XXXXXXXXXXXXXX -FirstName John -LastName Smith -Email john_smith@alachisoft.com
- This command activates NCache on specific servers, with a recurring license type and a specified port:
Register-NCAzCache -EnvName Production -Key XXXXXXX-XXXXXXXXXXXXXX -FirstName John -LastName Smith -Email john_smith@alachisoft.com -Server "10.0.0.4,10.0.0.5" -LicenseDuration Annual -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 activated. | - | ||
-Key* |
<String> |
The license key to be used for activation. | - | ||
-FirstName* |
<String> |
The first name of the user activating NCache. | - | ||
-LastName* |
<String> |
The last name of the user activating NCache. | - | ||
-Email* |
<String> |
The email address of the user activating NCache. | - | ||
-Company |
<String> |
The company name of the user. | - | ||
-Address |
<String> |
The address of the user. | - | ||
-City |
<String> |
The city where the user is located. | - | ||
-State |
<String> |
The state or region where the user is located. | - | ||
-Country |
<String> |
The country of the user. | - | ||
-Phone |
<String> |
The phone number of the user. | - | ||
-ZipCode |
<String> |
The postal code of the user's address. | - | ||
-Server |
<String> (comma-separated) |
The specific servers on which NCache will be activated. If not provided, activates on all servers in the environment. | Local Machine | ||
-KeyType |
<String> |
The type of the license key (e.g., "Trial", "Commercial", etc.). | - | ||
-Reactivate |
<SwitchParameter> |
If specified, forces the reactivation of NCache on the servers. | False | ||
-Credentials |
<Credentials> |
Specifies the credentials for the user activating NCache. | - | ||
-NoLogo |
<SwitchParameter> |
If specified, disables the display of the logo during activation. | False | ||
-LicenseDuration |
`{ Hourly | Monthly | Annual }` | Specifies the duration of the license. | Annual |
-Clients |
<int> |
The number of clients for which the license will be activated. | - | ||
-Recurring |
<SwitchParameter> |
If specified, sets the license to be recurring. | False | ||
-Port |
<long> |
The port on which NCache will be activated. | 8250 |