Get-DPMDatasetStatus

Gets the status of datasets on an archive tape.

Syntax

Get-DPMDatasetStatus
   [-Tape] <Media>
   [<CommonParameters>]

Description

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

Examples

Example 1: Get dataset status for an archive tape

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "TestingServer"
PS C:\> $PTape = Get-DPMTape -ProtectionGroup $PGroup
PS C:\> Get-DPMDatasetStatus -Tape $PTape

The first command gets the protection groups from the System Center 2019 - Data Protection Manager (DPM) server named TestingServer. The command stores these protection groups in the $PGroup variable.

The second command gets the tapes associated with the protection groups in $PGroup, and then stores them in the $PTape variable.

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

Parameters

-Tape

Specifies a tape for which this cmdlet gets dataset status. To obtain a Tape object, use the Get-DPMTape cmdlet.

Type:Media
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False