Cmdlets > Resume-DtTarget

Resume-DtTarget

Resumes Double-Take processing

Syntax

Resume-DtTarget [-ServiceHost] <Server> -JobInfo <JobInfo> [-ConnectionId <Guid>] [<CommonParameters>]

 

Resume-DtTarget [-ServiceHost] <Server> -All [<CommonParameters>]

 

Resume-DtTarget [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]

 

Detailed Description

This cmdlet resumes Double-Take processing on the target.

Parameters

Name Type Description Required Pipeline Input
Service
Host
Server

Specify the server object returned from the New-DtServer cmdlet. For this cmdlet, the -ServiceHost should be your target server.

true false
JobId Guid

Specify the job GUID returned from the New-DtJob cmdlet or the Id within the job information returned from the Get-DtJob cmdlet.

true false
Connection
Id
ConnectionId

Specify the connection ID returned from the Get-DtConnectionIds cmdlet.

false false
All Switch
Parameter

Execute the cmdlet on all jobs that are present

true false
JobInfo JobInfo

Specify the job information returned from the Get-DtJob cmdlet. The job information can be piped from the Get-DtJob cmdlet and used in this cmdlet.

true true

Outputs

ActivityToken

Examples

$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password

Resume-DtTarget -ServiceHost $DtServerObjectBeta -All

Disconnect-DtServer -ServiceHost $DtServerObjectBeta

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.