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

Creates a new media set in Backup Exec.

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

Creates a new 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


-Name <String>

Specifies the name of the new media set.


Required true
Position 0
Accepts pipeline input true (ByValue ByPropertyName)
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
System.String

You can pipe a string that contains the name of the Backup Exec media set object to create to New-BEMediaSet.

Return Value
BackupExec.Management.CLI.BEMediaSet

New-BEMediaSet returns the media set that was created.

Example
C:\PS> New-BEMediaSet -Name "Media Set 0001"

This command creates a new media set named "Media Set 0001".