Backup Exec Management Command Line Interface Help
Move-BEMediaToMediaVault Cmdlet
Synopsis

Moves media to a media vault in Backup Exec.

Syntax
Move-BEMediaToMediaVault -InputObject [<BEMedia[]>] -MediaVault [<BEMediaVault>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Moves media to a media vault in Backup Exec.

Parameters

-MediaVault <BEMediaVault>

Specifies the Backup Exec media vault to move the media.


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


-InputObject <BEMedia[]>

Specifies one or more media 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


-WhatIf <SwitchParameter>

Describes what happens if you execute the command without actually executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

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

Input Type
BackupExec.Management.CLI.BEMedia

You can pipe a Backup Exec media object to Move-BEMediaToMediaVault.

Return Value
BackupExec.Management.CLI.BEMedia

Move-BEMediaToMediaVault returns the media that was moved.

Example
C:\PS> Get-BEMedia "Media0001" | Move-BEMediaToMediaVault -MediaVault "MediaVault0001"

Moves the media named "Media0001" to the media vault named "MediaVault0001".

Related Link

Get-BEMedia