Get-DPMRecoveryPointLocation
Get-DPMRecoveryPointLocation
Gets the location of a recovery point.
Syntax
Parameter Set: Default
Get-DPMRecoveryPointLocation [-RecoveryPoint] <RecoverySource> [ <CommonParameters>]
Detailed 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 located on disk, the cmdlet returns information about the tape.
Parameters
-RecoveryPoint<RecoverySource>
Specifies a recovery point object. To obtain a recovery point location object, use the Get-DPMRecoveryPoint cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- RecoveryPointLocation
Notes
- For more information, type "
Get-Help Get-DPMRecoveryPointLocation -detailed
".
Examples
Example 1: Get a recovery point location
This example gets the recovery point location for a recovery point.
The first command gets the protection group on the DPM server named DPMServer02 and store the results in the $Pg variable.
The second command gets the list of protected and unprotected data in the protection group stored in the $Pg variable. The command stores the results in the $Ds variable.
The third command gets the recovery point for the data source stored in the $Ds variable, and stores the result in the $Rp variable.
The fourth command gets the recovery point location for the recovery point stored in the $Rp variable.
PS C:\> $Pg = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $Ds = Get-DPMDatasource -ProtectionGroup $Pg
PS C:\> $Rp = Get-DPMRecoveryPoint -Datasource $Ds
PS C:\> Get-DPMRecoveryPointLocation -RecoveryPoint $Rp