Get-DPMHeadlessDataset
Returns incomplete datasets on the archive tape.
Syntax
Get-DPMHeadlessDataset
[-Tape] <Media[]>
[<CommonParameters>]
Description
The Get-DPMHeadlessDataset cmdlet returns incomplete datasets on the archive tape in System Center - Data Protection Manager (DPM).
Examples
Example 1: Return an incomplete dataset
PS C:\> $DpmLibrary = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> $DpmTape = Get-DPMTape -DPMLibrary $DpmLibrary
PS C:\> Get-DPMHeadlessDataset -Tape $DpmTape[2]
The first command uses the Get-DPMLibrary cmdlet to get the library for the server named Contoso-DPMServer. The command stores the library in the $DpmLibrary variable.
The second command uses the Get-DPMTape cmdlet to get the tapes in the library, and stores them in the $DpmTape variable.
The third command retrieves the dataset on the third tape.
Parameters
-Tape
Specifies an array of tape objects on which this cmdlet operates. 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 |