![]() |
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>]
Required? |
true |
Position? |
1 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
2 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
named |
Accept Pipeline Input? |
true (ByValue, 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. |
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