Backup Exec Management Command Line Interface Help
Remove-BEBarcodeRule Cmdlet
Synopsis

Removes bar code rules in Backup Exec.

Syntax
Remove-BEBarcodeRule -InputObject [<BEBarcodeRule[]>] [-PassThru [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Removes bar code rules in Backup Exec.

Parameters

-PassThru <SwitchParameter>

Passes the removed object to the pipeline. By default, this cmdlet does not generate any output.


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


-InputObject <BEBarcodeRule[]>

Specifies one or more barcode rule 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.BEBarcodeRule

You can pipe a Backup Exec barcode rule object to Remove-BEBarcodeRule.

Return Value
None or BackupExec.Management.CLI.BEBarcodeRule

When you use the PassThru parameter, Remove-BEBarcodeRule returns an object that represents the barcode rule that was removed. Otherwise, this cmdlet does not generate any output.

Example
C:\PS> Get-BEBarcodeRule -BarcodePrefix CLN | Remove-BEBarcodeRule

These commands remove all bar code rules with a bar code prefix of "CLN".

Related Link

Get-BEBarcodeRule