Get-DPMTape

Get-DPMTape

Returns a list of tapes in the library.

構文

Parameter Set: Library
Get-DPMTape [-DPMLibrary] <Library[]> [ <CommonParameters>]

Parameter Set: ProtectionGroup
Get-DPMTape [-ProtectionGroup] <ProtectionGroup[]> [ <CommonParameters>]

Parameter Set: RecoverySourceLocation
Get-DPMTape [-RecoveryPointLocation] <RecoverySourceLocation[]> [ <CommonParameters>]

詳細説明

The Get-DPMTape cmdlet returns a list of tapes in the library. In System Center 2012 – Data Protection Manager (DPM), a library refers to multi-drive tape hardware and standalone tape drives.

パラメーター

-DPMLibrary<Library[]>

Specifies an array of DPM library objects. The library objects refer to multi-drive tape hardware, as well as standalone tape drives.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

-ProtectionGroup<ProtectionGroup[]>

Specifies the name of a protection group. A protection group consists of data sources, such as volumes or shares, with a common protection configuration and schedule.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

-RecoveryPointLocation<RecoverySourceLocation[]>

Specifies an array of recovery points. A recovery point is a copy of a replica stored on a DPM server. You can specify multiple locations for recovery items that exist on a disk and a tape, or on multiple tapes.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

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

  • Tape

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

Example 1: Retrieve a list of tapes for a library

This example retrieves a list of tapes for a library in DPM.

The first command uses the Get-DPMLibrary cmdlet to retrieve the library for the server, and stores the result in the $DPMLib variable.

The second command uses the Get-DPMTape cmdlet to return the list of tapes on Contoso-DPMServer.

PS C:\> $DPMLib = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTape -DPMLibrary $DPMLib

関連トピック

Add-DPMTape

Get-DPMLibrary

Remove-DPMTape

Set-DPMTape