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

Gets Backup Exec OpenStorage devices.

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

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

Get-BEOpenStorageDevice -LogonAccount [<BELogonAccount[]>] [[-Name] [<String[]>]] [<CommonParameters>]

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

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

Gets Backup Exec OpenStorage devices.

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

Parameters

-BackupExecServer <BEBackupExecServer[]>

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


-LogonAccount <BELogonAccount[]>

Specifies one or more logon account objects to filter the OpenStorage devices. Enter a variable that contains the objects, or type a command or expression that gets the objects. See Get-BELogonAccount.


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


-Name <String[]>

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

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



BackupExec.Management.CLI.BELogonAccount

You can pipe a Backup Exec logon account object as a means to filter OpenStorage devices returned by Get-BEOpenStorageDevice.



System.Guid

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



BackupExec.Management.CLI.BEOpenStorageDevice

You can pipe a Backup Exec OpenStorage device object to Get-BEOpenStorageDevice.

Return Value
BackupExec.Management.CLI.BEOpenStorageDevice

Get-BEOpenStorageDevice returns objects that represent Backup Exec OpenStorage devices.

Examples

Example 1

C:\PS> Get-BEOpenStorageDevice

This command gets all of the OpenStorage devices.


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

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


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

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


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

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

Related Links

Get-BEBackupExecServer
Get-BELogonAccount