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

Gets media vaults in Backup Exec.

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

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

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

Gets media vaults in Backup Exec.

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

Parameters

-Name <String[]>

Specifies one or more media vaults by media vault 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 media vaults by media vault 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 <BEMediaVault[]>

Specifies one or more media vault 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
System.Guid

You can pipe a System.Guid that contains the ID of a Backup Exec media vault object to Get-BEMediaVault.



BackupExec.Management.CLI.BEMediaVault

You can pipe a Backup Exec media vault object to Get-BEMediaVault.

Return Value
BackupExec.Management.CLI.BEMediaVault

Get-BEMediaVault returns objects that represent Backup Exec media vaults.

Examples

Example 1

C:\PS> Get-BEMediaVault

This command gets all of the media vaults.


Example 2
C:\PS> Get-BEMediaVault -Name "MediaVault 01"

This command gets the media vault named "MediaVault 01".


Example 3
C:\PS> Get-BEMediaVault -Name "*mediavault*"

This command gets all of the media vaults that match the wildcard "*mediavault*".