Get-RecoveryPointLocation

Get-RecoveryPointLocation

Returns the location of a recovery point.

Syntax

Get-RecoveryPointLocation [-RecoveryPoint] <RecoverySource> [<CommonParameters>]

Detailed Description

The Get-RecoveryPointLocation cmdlet returns the location of a recovery point. The returned object indicates whether the recovery point is located on disk or tape. In case it is on a tape, the cmdlet will return the tape's details.

Parameters

-RecoveryPoint

The recovery point to use.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

  • For more information, type "Get-Help Get-RecoveryPointLocation -detailed".
    For technical information, type "Get-Help Get-RecoveryPointLocation -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

$pg = Get-ProtectionGroup -DPMServerName TestingServer 
$ds = Get-Datasource -ProtectionGroup $pg 
$rp = Get-RecoveryPoint -Datasource $ds 
Get-RecoveryPointLocation -RecoveryPoint $rp

This command returns the location of the specified recovery point.