Get-DPMDatasetStatus
Gets the status of datasets on an archive tape.
Syntax
Default (Default)
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.
Parameter properties
Type: | Media |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.