Returns activation code validation information
Syntax
Get-DtActivationStatus [-ServiceHost] <Server> [[-Code] <String[]>] [[-AdditionalCode] <String[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns the Double-Take activation code validation information for the specified server. If you do not provide the code parameters, the activation codes currently in use will be returned. Specifying the codes will return what the activation status would be if the codes were applied using Set-DtActivationCode.
Parameters
Name | Type | Description | Required | Pipeline Input |
---|---|---|---|---|
Service Host |
Server |
|
true | false |
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). |
false | false |
Additional Code |
String |
Specify any additional activation codes, such as activation keys. Specify multiple codes in an array using the format @(code1, code2). |
false | false |
Outputs
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password Get-DtActivationStatus -ServiceHost $DtServerObjectAlpha 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. Then the validation information for the Double-Take activation code assigned to the server is returned. The connections for the server object are then closed.