Add-VBRVMExclusion

Short Description

Adds VMs to global VM exclusions.

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

Syntax

Add-VBRVMExclusion [-Entity] <Object[]> [-Note <String>] [<CommonParameters>]

Detailed Description

This cmdlet adds VMs to global VM exclusions. Veeam Backup & Replication stops processing such VMs even if they are included in jobs.

Note

Global VM exclusion applies only to jobs where the sources are production VMs.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Entity

Specifies the VMs which you want to exclude from processing.

Accepts the Object[] object. To get this object, run the following cmdlets:

  • Find-VBRViEntityLooks for VMware objects.: use this cmdlet to get VMware vSphere VMs.
  • Find-VBRHvEntityReturns Hyper-V objects.: use this cmdlet to get Microsoft Hyper-V VMs.
  • Find-VBRvCloudEntityLooks for Cloud Director entities.: use this cmdlet to get Cloud Director VMs.

Object[]

True

0

True (ByPropertyName, ByValue)

Note

Specifies a note why the VM is excluded from processing.

String

False

Named

True (ByPropertyName)

<CommonParameters>

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

Output Object

The cmdlet returns the VBRVMExclusion[] object that defines the exclusions.

Examples

Excluding VMware vSphere VM from Processing

This example shows how to exclude the ubuntu88 VMware vSphere VM from processing.

$vm = Find-VBRViEntity -VMsAndTemplates -Name "ubuntu88"

Add-VBRVMExclusion -Entity $vm

Perform the following steps:

  1. Run the Find-VBRViEntityLooks for VMware objects. cmdlet. Provide the VMsAndTemplates parameter. Specify the Name parameter value. Save the result to the $vm variable.
  2. Run the Add-VBRVMExclusion cmdlet. Set the $vm variable as the Entity parameter value.

Find-VBRViEntityLooks for VMware objects.

Page updated 2026-08-20

Page content applies to build 13.1.1.18