![]() |
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.
Request-DtOnlineActivation [-Code] <String> [-ServerName] <String> [-ServerInformation] <String> [-ServiceHost] <Server> [-EmailAddress] <String> [<CommonParameters>]
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
Required? |
false |
Position? |
named |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
Required? |
false |
Position? |
named |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters. |
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
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