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

Sets the properties for a Backup Exec media type.

Syntax
Set-BEMediaType -InputObject [<BEMediaType[]>] [-MediaLabelDigits [<UInt32>]] [-MediaLabelPrefix [<String>]] [-MediaLabelNextValue [<UInt32>]] [-WhatIf [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [<CommonParameters>]
Description

Sets the properties for a Backup Exec media type.

Parameters

-MediaLabelPrefix <String>

Specifies the media label prefix for the media type.


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


-MediaLabelNextValue <UInt32>

Specifies the next number that will be included in the label of the next media that matches the media type when that media is entered for the first time into this installation of Backup Exec.


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


-MediaLabelDigits <UInt32>

Specifies the minimum size of the numeric portion of the media label for the media type.


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


-InputObject <BEMediaType[]>

Specifies one or more media type 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 would happen if you executed 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.BEMediaType

You can pipe a Backup Exec media type object to Set-BEMediaType.

Return Value
BackupExec.Management.CLI.BEMediaType

Set-BEMediaType returns an object that represents the changed Backup Exec media type.

Example
C:\PS> Get-BEMediaType LTO | Set-BEMediaType -MediaLabelPrefix WORM

These commands change the media label prefix of the LTO media type to "WORM".

Related Link

Get-BEMediaType