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.

Parameters

-Tape<Media[]>

Specifies an array of tape objects.

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.

Notes

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

Examples

Example 1: Return an incomplete dataset

This example returns an incomplete dataset on the tape.

The first command uses the Get-DPMLibrary cmdlet to retrieve the library, and stores the result in the variable named $DPMLib.

The second command uses the Get-DPMTape cmdlet to get a list of tapes in the library, and stores the result in the variable named $Tape.

The third command uses the Get-DPMHeadlessDataset cmdlet to retrieve the dataset on the third tape.

PS C:\> $DPMLib = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> $Tape = Get-Tape -DPMLibrary $DPMLib
PS C:\> Get-DPMHeadlessDataset -Tape $Tape[2]