Get-DPMHeadlessDataset
Get-DPMHeadlessDataset
Returns incomplete datasets on the archive tape.
Syntax
Parameter Set: Default
Get-DPMHeadlessDataset [-Tape] <Media[]> [ <CommonParameters>]
Detailed Description
The Get-DPMHeadlessDataset cmdlet returns incomplete datasets on the archive tape in System Center 2012 – Data Protection Manager (DPM).
Parameters
-Tape<Media[]>
Specifies an array of tape objects on which this cmdlet operates. To obtain a Tape object, use the Get-DPMTape cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Return an incomplete dataset
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.
PS C:\> $DpmLibrary = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> $DpmTape = Get-DPMTape -DPMLibrary $DpmLibrary
PS C:\> Get-DPMHeadlessDataset -Tape $DpmTape[2]