Backup Exec Management Command Line Interface Help
Set-BEMediaSet Cmdlet
Synopsis

Sets the properties for a media set in Backup Exec.

Syntax
Set-BEMediaSet -InputObject [<BEMediaSet[]>] [-ReturnFromVaultPeriodHours [<Int32>]] [-MoveToVaultPeriodHours [<Int32>]] [-OverwriteProtectionPeriodHours [<Int32>]] [-Description [<String>]] [-MediaVault [<BEMediaVault>]] [-AppendPeriodHours [<Int32>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Sets the properties for a media set in Backup Exec.

Parameters

-Description <String>

Specifies the description for the media set.


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


-OverwriteProtectionPeriodHours <Int32>

Specifies the length of time that data is retained on a specific media before being overwritten.


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


-AppendPeriodHours <Int32>

Specifies the length of time that data can be added to the media.


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


-MediaVault <BEMediaVault>

Specifies the Backup Exec media vault you want to send media that are associated with this media set.


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


-MoveToVaultPeriodHours <Int32>

Specifies the time period after which this media will be reported as ready to be moved to this vault.


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


-ReturnFromVaultPeriodHours <Int32>

Specifies the time period after which this media will be reported as ready to be returned from this vault.


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


-InputObject <BEMediaSet[]>

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

You can pipe a Backup Exec media set object to Set-BEMediaSet.

Return Value
BackupExec.Management.CLI.BEMediaSet

Set-BEMediaSet returns an object that represents the changed media set.

Example
C:\PS> Get-BEMediaSet "Media Set 0001" | Set-BEMediaSet -Description "Test Media Set"

These commands add the description "Test Media Set" to a media set named "Media Set 0001".

Related Link

Get-BEMediaSet