Activates the license
Syntax
Request-DtOnlineActivation -Code <String> -ServerName <String> -ServerInformation <String> [-ServiceHost <Server>] [-EmailAddress <String>] [<CommonParameters>]
Detailed Description
This cmdlet activates the Double-Take license over the Internet using the server information returned by the Get-DtOnlineActivationRequest cmdlet.
Parameters
Name | Type | Description | Required | Pipeline Input |
---|---|---|---|---|
Code | String | Specify the 24-character, alpha-numeric activation code(s) which applies the appropriate Double-Take license to your Double-Take server. Specify multiple codes in an array using the format @(code1, code2). You can also use the code that is returned by the Get-DtOnlineActivationRequest cmdlet. | true | true |
Server Name |
String |
Specify the name of the server or use the server name returned by the Get-DtOnlineActivationRequest cmdlet. |
true | true |
Server Information |
String |
Specify the server information returned by the Get-DtOnlineActivationRequest cmdlet. |
true | true |
Service Host |
Server |
|
false | false |
Email Address |
String |
Specify a valid email address. |
false | false |
Outputs
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password Get-DtOnlineActivationRequest -ServiceHost $DtServerObjectAlpha Request-DtOnlineActivation -Code 1234-5678-9012-3456-7890-1234 -ServerName $DtServerObjectAlpha -ServerInformation thnvkg9anmtjr5y27qgzhrmvqqbhyr5f7152pecq Disconnect-DtServer -ServiceHost $DtServerObjectAlpha |
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. The server information for the online activation process is returned. The license is activated online. The connections for the server object are then closed.
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password Get-DtOnlineActivationRequest -ServiceHost $DtServerObjectAlpha | Request-DtOnlineActivation | Set-DtActivationCode Disconnect-DtServer -ServiceHost $DtServerObjectAlpha |
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. The server information for the online activation process is returned. The output from the Get-DtOnlineActivationRequest cmdlet is piped directly to Request-DtOnlineActivation, which activates the license online, and then that output (from Request-DtOnlineActivation) is piped directory to Set-DtActivationCode to set the activation key on the server.The connections for the server object are then closed.