Get-TapeDrive

Get-TapeDrive

Returns a list of drives in a library on a DPM server.

Syntax

Get-TapeDrive [-DPMLibrary] <Library> [<CommonParameters>]

Detailed Description

The Get-TapeDrive cmdlet returns a list of drives in a library on a DPM server.

Parameters

-DPMLibrary

A DPM library 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-TapeDrive -detailed".
    For technical information, type "Get-Help Get-TapeDrive -full".

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

Examples

EXAMPLE 1

$DPMLib = Get-DPMLibrary -DPMServerName "TestingServer" 
Get-TapeDrive -DPMLibrary $DPMLib

This command returns the tape drive in all libraries on TestingServer.