Remove-VBRJobObject

Short Description

Removes VMs or VM containers from jobs.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Remove-VBRJobObject -Objects <CObjectInJob[]> [-Completely]  [<CommonParameters>]

Detailed Description

This cmdlet allows you to remove VMs or VM containers from existing backup, replication or copy job.

You can remove the objects from job completely or only exclude them from processing.

  • If you remove the objects completely, they are deleted from job settings and from Veeam database. Run the cmdlet with the Completely parameter for this.
  • If you run the cmdlet without the Completely parameter, the job objects are only excluded from processing but remain in job settings.

Note that Veeam PowerShell does not allow you to include the excluded objects back to the job, you can do it only with Veeam Backup & Replication UI.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Objects

Specifies an array of job objects (VMs and VM containers). The cmdlet will exclude these objects from processing by the job.

Note: If the job is processing VM containers, the Get-VBRJobObject cmdlet will return only VM containers. To exclude VMs from containers, use Veeam Backup & Replication UI.

Accepts the CObjectInJob[] object. To get this object, run the Get-VBRJobObject cmdlet.

True

1

True (ByProperty
Name, ByValue)

Completely

If you provide this parameter, you will be able to permanently remove the job objects from the job.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Remove-VBRJobObjectExample 1. Removing VM from Backup Job [Using Pipeline]

Remove-VBRJobObjectExample 2. Completely Removing VM from Backup Job [Using Pipeline]

Remove-VBRJobObjectExample 3. Removing Specific VMs from Backup Job [Using Variables]

Related Commands

Page updated 5/17/2024

Page content applies to build 12.3.1.1139