Remove-VBOJob

In this article

    Short Description

    Removes backup jobs.

    Syntax

    Remove-VBOJob -Job <VBOJob> [-WhatIf [<switchparameter>]] [-Confirm [<switchparameter>]]  [<CommonParameters>]

    Detailed Description

    This cmdlet removes the selected backup job from Veeam Backup for Microsoft 365.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Job

    Specifies a backup job that you want to remove.

    Accepts the VBOJob object.

    To get this object, run the Get-VBOJob cmdlet.

    True

    Named

    True (ByValue)

    False

    WhatIf

    Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

    SwitchParameter

    False

    Named

    False

    False

    Confirm

    Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

    SwitchParameter

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Output Object

    None.

    Examples

    Example 1. Removing Backup Job

    This example shows how to remove a backup job.

    $job = Get-VBOJob -Name "ABC Backup"

    Remove-VBOJob -Job $job

    Perform the following steps:

    1. Run the Get-VBOJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
    2. Run the Remove-VBOJob cmdlet. Set the $job variable as the Job parameter value.

    Related Commands

    Get-VBOJob