Get-DPMRecoveryPointLocation
Gets the location of a recovery point.
Syntax
Default (Default)
Get-DPMRecoveryPointLocation
[-RecoveryPoint] <RecoverySource>
[<CommonParameters>]
Description
The Get-DPMRecoveryPointLocation cmdlet gets the location of a recovery point. This cmdlet returns an object that indicates whether the recovery point is located on disk or tape. If the recovery point is on tape, the cmdlet returns information about the tape.
Examples
Example 1: Get a recovery point location
PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $PObject = Get-DPMDatasource -ProtectionGroup $PGroup
PS C:\> $RPoint = Get-DPMRecoveryPoint -Datasource $PObject
PS C:\> Get-DPMRecoveryPointLocation -RecoveryPoint $RPoint
The first command gets the protection group on the Data Protection Manager (DPM) server named DPMServer02. The command stores the protection group in the $PGroup variable.
The second command gets the list of protected and unprotected data in the protection group in $PGroup you selected. The command stores the results in the $PObject variable.
The third command gets the recovery point for the data source in $DSource you selected, and then stores the recovery point in the $RPoint variable.
The fourth command gets the location for the recovery point in $RPoint you selected.
Parameters
-RecoveryPoint
Specifies a recovery point for which this cmdlet gets the location. To obtain a recovery point location object, use the Get-DPMRecoveryPoint cmdlet.
Parameter properties
Type: | RecoverySource |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.