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

Gets storage devices in Backup Exec.

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

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

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

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

Gets storage devices in Backup Exec.

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

Parameters

-BackupExecServer <BEBackupExecServer[]>

Specifies one or more Backup Exec server objects to filter the storage devices. 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


-Name <String[]>

Specifies one or more storage devices by storage 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 storage devices by storage 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 <BEStorageDevice[]>

Specifies one or more storage 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 storage devices returned by Get-BEStorageDevice.



System.Guid

You can pipe a System.Guid that contains the ID of a Backup Exec storage device object to Get-BEStorageDevice.



BackupExec.Management.CLI.BEStorageDevice

You can pipe a Backup Exec storage device object to Get-BEStorageDevice.

Return Value
BackupExec.Management.CLI.BEStorageDevice

Get-BEStorageDevice returns objects that represent Backup Exec storage devices.

Examples

Example 1

C:\PS> Get-BEStorageDevice

This command gets all of the storage devices.


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

This command gets the storage device named "Device 01".


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

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


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

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

Related Link

Get-BEBackupExecServer