< Back

Start-AzureRmRecoveryServicesAsrApplyRecoveryPoint

Tue Jan 29, 2019 10:03 pm

NAME Start-AzureRmRecoveryServicesAsrApplyRecoveryPoint



SYNOPSIS

Changes a recovery point for a failed over protected item before commiting the failover operation.





SYNTAX

Start-AzureRmRecoveryServicesAsrApplyRecoveryPoint [-Confirm] [-DataEncryptionPrimaryCertFile <String>] [-DataEncryptionSecondaryCertFile

<String>] [-DefaultProfile <IAzureContextContainer>] -RecoveryPoint <ASRRecoveryPoint> -ReplicationProtectedItem <ASRReplicationProtectedItem>

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Start-AzureRmRecoveryServicesAsrApplyRecoveryPoint changes the recovery point for a failed over protected item before it commits the failover

operation.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DataEncryptionPrimaryCertFile <String>

Specifies the primary certificate file if data encryption is being used.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DataEncryptionSecondaryCertFile <String>

Specifies the secondary certificate file if data encryption is being used.



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



-RecoveryPoint <ASRRecoveryPoint>

Specifies the recovery point object corresponding to the recovery point to be applied.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ReplicationProtectedItem <ASRReplicationProtectedItem>

Specifies the ASR replication protected item object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRReplicationProtectedItem







OUTPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob







NOTES









Example 1



PS C:\\> $currentJob = Start-AzureRmRecoveryServicesAsrApplyRecoveryPoint -RecoveryPoint $RecoveryPoint -ReplicationProtectedItem $RPI



Starts applying the specified recovery point to the replication protected item and returns the ASR job used to track the operation.







RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... overypoint

Azure Site Recovery Cmdlets