Add-VBRMalwareDetectionExclusion

Short Description

Adds machines to a malware exclusions list.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

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

Detailed Description

This cmdlet adds machines to a malware exclusions list. Veeam Backup & Replication will skip these machines from malware scan. You can add machines of the following types:

  • VMware vSphere VMs.
  • Microsoft Hyper-V VMs.
  • VMware Cloud Director VMs.
  • Discovered computers added to protection groups.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Entity

Specifies a machine that you want to add to a malware exclusions list. Veeam Backup & Replication will skip this machine from malware scan.

 

Accepts the following types of objects:

  • [For vSphere VMs] CViVmItem. To get this object, run the Find-VBRViEntity cmdlet.
  • [For HyperV VMs] CHvVmItem. To get this object, run the Find-VBRViEntity cmdlet.
  • [For vCloud Director VMs] Accepts the CVcdVmItem object. To get this object, run the Find-VBRvCloudEntity cmdlet with the Vm parameter.

True

0

True (ByPropertyName, ByValue)

Note

Specifies a note for a machine.

String

False

Named

False

<CommonParameters>

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

Output Object

VBRMalwareDetectionExclusion

Examples

Excluding VMware vSphere VM from Malware Scan

This example shows how to exclude the WinSrv2049 VM from the malware scan.

$vm = Find-VBRViEntity -Name Second -DayOfWeek "WinSrv2049"

Add-VBRMalwareDetectionExclusion -Entity $vm

Perform the following steps:

  1. Run the Find-VBRViEntity cmdlet. Specify the Name parameter value. Save the result to the $vm variable.
  2. Run the Add-VBRMalwareDetectionExclusion cmdlet. Set the $vm variable as the Entity parameter value.

Related Commands

Find-VBRViEntity