Get-DPMDatasetStatus

Get-DPMDatasetStatus

Returns status of datasets on an archive tape.

構文

Parameter Set: Default
Get-DPMDatasetStatus [-Tape] <Media> [ <CommonParameters>]

詳細説明

The Get-DPMDatasetStatus cmdlet returns the status of datasets on an archive tape.

パラメーター

-Tape<Media>

Specifies a Tape object. To obtain a Tape object, use the Get-DPMTape 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)。

入力

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

出力

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

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

Example 1: Get dataset status for an archive tape

This example returns the status of datasets on an archive tape.

The first command gets the protection groups from the System Center 2012 – Data Protection Manager (DPM) server named TestingServer and stores these protection groups in the variable named $Pg.

The second command gets the tapes associated with the protection groups in $Pg and stores the result in the variable named $Pt.

The third command returns the status of datasets on the tapes associated with the protection groups in $Pg.

PS C:\> $Pg = Get-ProtectionGroup -DPMServerName "TestingServer"
PS C:\> $Pt = Get-Tape -ProtectionGroup $Pg
PS C:\> Get-DPMDatasetStatus -Tape $Pt