Click or drag to resize

Request-DtOnlineActivation

This cmdlet activates the Double-Take license over the Internet using the server information returned by the Get-DtOnlineActivationRequest cmdlet. For this cmdlet, the -ServiceHost should be your target server.

Syntax

Request-DtOnlineActivation [-Code] <String> [-ServerName] <String> [-ServerInformation] <String> [-ServiceHost] <Server> [-EmailAddress] <String> [<CommonParameters>]

Parameters
-Code<String>

Specify the 24-character, alpha-numeric license key 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.

Required?

true

Position?

named

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-ServerName<String>

Specify the name of the server or use the server name returned by the Get-DtOnlineActivationRequest cmdlet.

Required?

true

Position?

named

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-ServerInformation<String>

Specify the server information returned by the Get-DtOnlineActivationRequest cmdlet.

Required?

true

Position?

named

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-ServiceHost<Server>

Specify the server object returned from the New-DtServer cmdlet.

Required?

false

Position?

named

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-EmailAddress<String>

Specify a valid email address.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Examples

------------------EXAMPLE 1------------------

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 -Code 1234-5678-9012-3456-7890-1234 -ServerName $DtServerObjectAlpha -ServerInformation thnvkg9anmtjr5y27qgzhrmvqqbhyr5f7152pecq

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha

------------------EXAMPLE 2------------------

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.

$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password

Get-DtOnlineActivationRequest -ServiceHost $DtServerObjectAlpha | Request-DtOnlineActivation | Set-DtActivationCode

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha