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

Gets storage in Backup Exec.

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

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

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

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

Gets storage in Backup Exec.

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

Parameters

-BackupExecServer <BEBackupExecServer[]>

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


-Name <String[]>

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

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



System.Guid

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



BackupExec.Management.CLI.BEStorage

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

Return Value
BackupExec.Management.CLI.BEStorage

Get-BEStorage returns objects that represent Backup Exec storage.

Examples

Example 1

C:\PS> Get-BEStorage

This command gets all of the Backup Exec storage objects.


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

This command gets the Backup Exec storage object named "Device 01".


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

This command gets all of the Backup Exec storage objects that match the wildcard "Device*".


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

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

Related Link

Get-BEBackupExecServer