Add-VBRvCloudJobObject

Short Description

Adds VMs to Cloud Director backup jobs.

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

Syntax

Add-VBRvCloudJobObject -Job <CBackupJob> -Entities <IVcdItem[]> [-Force] [<CommonParameters>]

Detailed Description

This cmdlet adds VMs to Cloud Director backup jobs.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Entities

Specifies an array of VMs that you want to add to a Cloud Director backup job.

Accepts the IVcdItem[] object. To create this object, run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet.

IVcdItem[]

True

Named

True (ByPropertyName, ByValue)

Force

Defines that the cmdlet will add VMs to a Cloud Director backup job without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

Job

Specifies a Cloud Director backup job. The cmdlet will add VMs to this Cloud Director backup job.

Accepts the CBackupJob object. To create this object, run the Get-VBRJobReturns existing jobs. cmdlet.

CBackupJob

True

Named

False

<CommonParameters>

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

Output Object

The cmdlet returns the VBRvCloudJobObject object that contains settings of VMs to Cloud Director backup job.

Examples

Adding VMs to Cloud Director Backup Job

This example shows how to add the WinSrv2907 VM to the Cloud backup job Cloud Director backup job.

$job = Get-VBRJob -Name "Cloud backup job"

$vm = Find-VBRvCloudEntity -Name "WinSrv2907"

Add-VBRvCloudJobObject -Job $job -Entities $vm

Perform the following steps:

  1. Run the Get-VBRJobReturns existing jobs. cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Find-VBRvCloudEntityLooks for Cloud Director entities. cmdlet. Specify the Name parameter value. Save the result to the $vm variable.
  3. Run the Add-VBRvCloudJobObject cmdlet. Set the $job variable as the Job parameter value. Set the $vm variable as the Entities parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18