Get-AzRecoveryServicesAsrRecoveryPoint

Gets the available recovery points for a replication protected item.

Syntax

Get-AzRecoveryServicesAsrRecoveryPoint
   -ReplicationProtectedItem <ASRReplicationProtectedItem>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPoint
   -Name <String>
   -ReplicationProtectedItem <ASRReplicationProtectedItem>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzRecoveryServicesAsrRecoveryPoint cmdlet gets the list of available recovery points for a replication protected item.

Examples

Example 1

PS C:\> $RecoveryPoints = Get-AzRecoveryServicesAsrRecoveryPoint -ReplicationProtectedItem $ReplicationProtectedItem

Gets recovery points for the specified ASR replication protected item.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the recovery point to get.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReplicationProtectedItem

Specifies the Azure Site Recovery Replication Protected Item object for which to get the list of available recovery points.

Type:ASRReplicationProtectedItem
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

ASRReplicationProtectedItem

Outputs

ASRRecoveryPoint