Get-DPMRecoveryPointLocation

Get-DPMRecoveryPointLocation

Gets the location of a recovery point.

構文

Parameter Set: Default
Get-DPMRecoveryPointLocation [-RecoveryPoint] <RecoverySource> [ <CommonParameters>]

詳細説明

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.

パラメーター

-RecoveryPoint<RecoverySource>

Specifies a recovery point object. To obtain a recovery point location object, use the Get-DPMRecoveryPoint cmdlet.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • RecoveryPointLocation

  • For more information, type "Get-Help Get-DPMRecoveryPointLocation -detailed".

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

関連トピック

Get-DPMRecoveryPoint

Remove-DPMRecoveryPoint

New-DPMRecoveryPoint