Add-VBRMalwareDetectionExclusion
Short Description
Adds machines to a malware exclusions list.
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:
| 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
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 "WinSrv2049" Add-VBRMalwareDetectionExclusion -Entity $vm |
Perform the following steps:
- Run the Find-VBRViEntity cmdlet. Specify the Name parameter value. Save the result to the $vm variable.
- Run the Add-VBRMalwareDetectionExclusion cmdlet. Set the $vm variable as the Entity parameter value.
Related Commands