Get-DatasetStatus

Get-DatasetStatus

Returns the dataset state of the archive tape.

Syntax

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

Detailed Description

The Get-DatasetStatus cmdlet returns the dataset state of the archive tape.

Parameters

-Tape

Indicates a tape object.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

  • For more information, type "Get-Help Get-DatasetStatus -detailed".
    For technical information, type "Get-Help Get-DatasetStatus -full".

    Additionally, any updated information about the cmdlet will be available at http://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

$pg = Get-ProtectionGroup -DPMServerName "TestingServer" 
$pt = Get-Tape -ProtectionGroup $pg 
Get-DatasetStatus -Tape $pt

This command returns the status of the dataset on the specified tape.