< Back
Start-AzureRmSiteRecoveryTestFailoverJob
Post
NAME Start-AzureRmSiteRecoveryTestFailoverJob
SYNOPSIS
Starts a test failover for a Site Recovery protection entity.
SYNTAX
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem
<ASRReplicationProtectedItem> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity> -VMNetwork <ASRNetwork>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan> -VMNetwork <ASRNetwork>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem <ASRReplicationProtectedItem>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem <ASRReplicationProtectedItem> -VMNetwork
<ASRNetwork> [<CommonParameters>]
DESCRIPTION
The Start-AzureRmSiteRecoveryTestFailoverJob cmdlet starts test failover of an Azure Site Recovery protection entity or recovery plan. You can
check whether the job succeeded by using the Get-AzureRmSiteRecoveryJob cmdlet.
PARAMETERS
-AzureVMNetworkId <String>
Specifies the Azure virtual network ID.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DataEncryptionPrimaryCertFile <String>
Specifies the primary certificate file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DataEncryptionSecondaryCertFile <String>
Specifies the secondary certificate file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Direction <String>
Specifies the failover direction. The acceptable values for this parameter are:
- PrimaryToRecovery
- RecoveryToPrimary
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionEntity <ASRProtectionEntity>
Specifies the Site Recovery protection entity object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-RecoveryPlan <ASRRecoveryPlan>
Specifies a recovery plan object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ReplicationProtectedItem <ASRReplicationProtectedItem>
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VMNetwork <ASRNetwork>
Specifies the Site Recovery virtual machine network.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRProtectionEntity
Parameter 'ProtectionEntity' accepts value of type 'ASRProtectionEntity' from the pipeline
ASRRecoveryPlan
Parameter 'RecoveryPlan' accepts value of type 'ASRRecoveryPlan' from the pipeline
ASRReplicationProtectedItem
Parameter 'ReplicationProtectedItem' accepts value of type 'ASRReplicationProtectedItem' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ailoverjob
Get-AzureRmSiteRecoveryJob
SYNOPSIS
Starts a test failover for a Site Recovery protection entity.
SYNTAX
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob -AzureVMNetworkId <String> [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile
<String>] [-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem
<ASRReplicationProtectedItem> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ProtectionEntity <ASRProtectionEntity> -VMNetwork <ASRNetwork>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan> [<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -RecoveryPlan <ASRRecoveryPlan> -VMNetwork <ASRNetwork>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem <ASRReplicationProtectedItem>
[<CommonParameters>]
Start-AzureRmSiteRecoveryTestFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>] [-DefaultProfile
<IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} -ReplicationProtectedItem <ASRReplicationProtectedItem> -VMNetwork
<ASRNetwork> [<CommonParameters>]
DESCRIPTION
The Start-AzureRmSiteRecoveryTestFailoverJob cmdlet starts test failover of an Azure Site Recovery protection entity or recovery plan. You can
check whether the job succeeded by using the Get-AzureRmSiteRecoveryJob cmdlet.
PARAMETERS
-AzureVMNetworkId <String>
Specifies the Azure virtual network ID.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DataEncryptionPrimaryCertFile <String>
Specifies the primary certificate file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DataEncryptionSecondaryCertFile <String>
Specifies the secondary certificate file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Direction <String>
Specifies the failover direction. The acceptable values for this parameter are:
- PrimaryToRecovery
- RecoveryToPrimary
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionEntity <ASRProtectionEntity>
Specifies the Site Recovery protection entity object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-RecoveryPlan <ASRRecoveryPlan>
Specifies a recovery plan object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ReplicationProtectedItem <ASRReplicationProtectedItem>
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VMNetwork <ASRNetwork>
Specifies the Site Recovery virtual machine network.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRProtectionEntity
Parameter 'ProtectionEntity' accepts value of type 'ASRProtectionEntity' from the pipeline
ASRRecoveryPlan
Parameter 'RecoveryPlan' accepts value of type 'ASRRecoveryPlan' from the pipeline
ASRReplicationProtectedItem
Parameter 'ReplicationProtectedItem' accepts value of type 'ASRReplicationProtectedItem' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ailoverjob
Get-AzureRmSiteRecoveryJob