![]() |
Resume-DtTarget |
This cmdlet resumes Double-Take processing on the target. For this cmdlet, the -ServiceHost should be your target server.
Resume-DtTarget [-ServiceHost] <Server> [-All] <SwitchParameter> [<CommonParameters>]
Resume-DtTarget [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId] <Guid> [<CommonParameters>]
Resume-DtTarget [-ServiceHost] <Server> [-JobInfo] <JobInfo> [-ConnectionId] <Guid> [<CommonParameters>]
Specify the server object returned from the New-DtServer cmdlet.
Required? |
true |
Position? |
1 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Execute the cmdlet on all jobs that are present.
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specify the job GUID returned from the New-DtJob cmdlet or the Id within the job information returned from the Get-DtJob cmdlet.
Required? |
true |
Position? |
2 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specify the job information returned from the Get-DtJob cmdlet. The job information can be piped from the Get-DtJob cmdlet.
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
Specify the connection ID returned from the Get-DtConnectionIds cmdlet.
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. |
A server object is created for the server beta using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectBeta. Double-Take processing on that server is then resumed. The connections for the server object are then closed.
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
Resume-DtTarget -ServiceHost $DtServerObjectBeta -All
Disconnect-DtServer -ServiceHost $DtServerObjectBeta