< Back

Start-AzureRmSiteRecoveryUnplannedFailoverJob

Thu Apr 04, 2019 5:40 am

NAME Start-AzureRmSiteRecoveryUnplannedFailoverJob



SYNOPSIS

Starts the unplanned failover for a Site Recovery protection entity or recovery plan.





SYNTAX

Start-AzureRmSiteRecoveryUnplannedFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>]

[-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} [-PerformSourceSideActions] -ProtectionEntity

<ASRProtectionEntity> [<CommonParameters>]



Start-AzureRmSiteRecoveryUnplannedFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>]

[-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} [-PerformSourceSideActions] -RecoveryPlan

<ASRRecoveryPlan> [<CommonParameters>]



Start-AzureRmSiteRecoveryUnplannedFailoverJob [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile <String>]

[-DefaultProfile <IAzureContextContainer>] -Direction {PrimaryToRecovery | RecoveryToPrimary} [-PerformSourceSideActions]

-ReplicationProtectedItem <ASRReplicationProtectedItem> [<CommonParameters>]





DESCRIPTION

The Start-AzureRmSiteRecoveryUnplannedFailoverJob cmdlet starts the unplanned failover of an Azure Site Recovery protection entity or recovery

plan. You can check whether the job succeeds by using the Get-AzureRmSiteRecoveryJob cmdlet.





PARAMETERS

-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 direction of the failover. The acceptable values for this parameter are:



- PrimaryToRecovery



- RecoveryToPrimary



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PerformSourceSideActions [<SwitchParameter>]

Indicates that the action can perform source site operations.



Required? false

Position? named

Default value False

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



<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









1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ailoverjob

Get-AzureRmSiteRecoveryJob