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

Moves media to a media set in Backup Exec.

Syntax
Move-BEMediaToMediaSet -InputObject [<BEMedia[]>] -MediaSet [<BEMediaSet>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Moves media to a media set in Backup Exec.

Parameters

-MediaSet <BEMediaSet>

Specifies the Backup Exec media set 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-BEMediaToMediaSet.

Return Value
BackupExec.Management.CLI.BEMedia

Move-BEMediaToMediaSet returns the media that was moved.

Example
C:\PS> Get-BEMedia "Media0001" | Move-BEMediaToMediaSet -MediaSet "MediaSet0001"

Moves the media named "Media0001" to the media set named "MediaSet0001".

Related Link

Get-BEMedia