Backup Exec Management Command Line Interface Help
Get-BETapeDriveDevice Cmdlet
Synopsis

Gets tape storage in Backup Exec.

Syntax
Get-BETapeDriveDevice [[-Name] [<String[]>]] [<CommonParameters>]

Get-BETapeDriveDevice -BackupExecServer [<BEBackupExecServer[]>] [[-Name] [<String[]>]] [<CommonParameters>]

Get-BETapeDriveDevice -Media [<BEMedia[]>] [[-Name] [<String[]>]] [<CommonParameters>]

Get-BETapeDriveDevice -RoboticLibraryDevice [<BERoboticLibraryDevice[]>] [[-Name] [<String[]>]] [<CommonParameters>]

Get-BETapeDriveDevice [-Id] [<Guid[]>] [<CommonParameters>]

Get-BETapeDriveDevice -InputObject [<BETapeDriveDevice[]>] [<CommonParameters>]
Description

Gets tape storage in Backup Exec.

Without parameters, Get-BETapeDriveDevice gets all of the Backup Exec tape storage. You can also specify a tape device by tape device name or tape device ID (Guid) or pass a Backup Exec tape device object through the pipeline to Get-BETapeDriveDevice.

Parameters

-BackupExecServer <BEBackupExecServer[]>

Specifies one or more Backup Exec server objects to filter the tape storage. Enter a variable that contains the objects, or type a command or expression that gets the objects. See Get-BEBackupExecServer.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-Media <BEMedia[]>

Specifies one or more Backup Exec media objects to filter the tape storage. Enter a variable that contains the objects, or type a command or expression that gets the objects. See Get-BEMedia.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-RoboticLibraryDevice <BERoboticLibraryDevice[]>

Specifies one or more robotic library device objects to filter the tape storage. Enter a variable that contains the objects, or type a command or expression that gets the objects. See Get-BERoboticLibraryDevice.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-Name <String[]>

Specifies one or more tape drive devices by tape drive device name (wildcards accepted). To specify multiple names, use commas to separate the names.


Required false
Position 0
Accepts pipeline input false
Accepts wildcard characters true


-Id <Guid[]>

Specifies one or more tape drive devices by tape drive device ID (Guid). To specify multiple IDs, use commas to separate the IDs.


Required true
Position 0
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-InputObject <BETapeDriveDevice[]>

Specifies one or more tape drive device objects. Enter a variable that contains the objects, or type a command or expression that gets the objects.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Types
BackupExec.Management.CLI.BEBackupExecServer

You can pipe a Backup Exec server object to filter tape drive devices returned by Get-BETapeDriveDevice.



BackupExec.Management.CLI.BEMedia

You can pipe a Backup Exec media object to filter tape drive devices returned by Get-BETapeDriveDevice.



BackupExec.Management.CLI.BERoboticLibraryDevice

You can pipe a Backup Exec robotic library device object to filter tape drive devices returned by Get-BETapeDriveDevice.



System.Guid

You can pipe a System.Guid that contains the ID of a Backup Exec tape drive device object to Get-BETapeDriveDevice.



BackupExec.Management.CLI.BETapeDriveDevice

You can pipe a Backup Exec tape drive device object to Get-BETapeDriveDevice.

Return Value
BackupExec.Management.CLI.BETapeDriveDevice

Get-BETapeDriveDevice returns objects that represent Backup Exec tape drive devices.

Examples

Example 1

C:\PS> Get-BETapeDriveDevice

This command gets all of the tape drive devices.


Example 2
C:\PS> Get-BETapeDriveDevice -Name "Device 01"

This command gets the tape drive device named "Device 01".


Example 3
C:\PS> Get-BETapeDriveDevice -Name "Device*"

This command gets all of the tape drive devices that match the wildcard "Device*".


Example 4
C:\PS> Get-BEBackupExecServer -Local | Get-BETapeDriveDevice

This command gets all of the tape drive devices attached to the local Backup Exec server.

Related Links

Get-BEBackupExecServer
Get-BEMedia
Get-BERoboticLibraryDevice