![]() |
Get-DtAllFailoverReports |
This cmdlet returns all of the failover reports associated with the specified job. For this cmdlet, the -ServiceHost should be your target server for the failover.
Get-DtAllFailoverReports [-JobId] <Guid> [-ServiceHost] <Server> [<CommonParameters>]
Required? |
true |
Position? |
2 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
1 |
Accept Pipeline Input? |
true (ByPropertyName) |
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. |
All reports are retrieved for a job from the target server. The reports are ordered from latest to oldest.
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJob = Get-DtJob -ServiceHost $DtServerObjectBeta
$DtReports = Get-DtAllFailoverReports -ServiceHost $DtServerObjectBeta -JobId $DtJob.Id
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectBeta