Add-VBRvCloudJobObject

Short Description

Adds VMs to vCD backup job.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet adds VMs to vCD backup jobs.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Job

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

Accepts the CBackupJob object. To create this object, run the Get-VBRJob cmdlet.

True

Named

False

Entities

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

Accepts the IVcdItem[] object. To create this object, run the Find-VBRHvEntity cmdlet.

True

Named

True (ByValue, ByPropertyName)

Force

Indicates that the cmdlet will add VMs to a vCD backup job without showing warnings in the PowerShell console.

SwitchParameter

False

Named

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

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

Examples

Adding VMs to vCD Backup Job

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

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

$vm = Find-VBRHvEntity -Name "WinSrv2907"

Add-VBRvCloudJobObject -Job $job -Entities $vm

Perform the following steps:

  1. Run the Get-VBRJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Find-VBRHvEntity 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.

Related Commands

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.