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

Removes Backup Exec jobs.

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

Removes Backup Exec jobs.

To remove jobs that are associated with a backup definition, you must remove the backup definition. See Remove-BEBackupDefinition.

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 <BEJob[]>

Specifies one or more job 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.BEJob

You can pipe a Backup Exec job object to Remove-BEJob.

Return Value
None or BackupExec.Management.CLI.BEJob

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

Example
C:\PS> Get-BEJob "Job 0001" | Remove-BEJob

These commands remove a job named "Job 0001".

Related Links

Remove-BEBackupDefinition
Get-BEJob