--- title: "Remove-VBRMalwareDetectionExclusion" description: "Removes machines from a malware exclusions list." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/remove-vbrmalwaredetectionexclusion.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Managing Security Settings > Malware Detection > Remove-VBRMalwareDetectionExclusion" dateModified: "2026-08-19" --- # Remove-VBRMalwareDetectionExclusion ## Short Description Removes machines from a malware exclusions list. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Remove-VBRMalwareDetectionExclusion -Exclusion [] ``` ## Detailed Description Removes machines from a malware exclusions list. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Exclusion

Specifies an array of machines. The cmdlet will remove these machines from a malware exclusions list.

Accepts the VBRMalwareDetectionExclusion[] object. To create this object, run the Get-VBRMalwareDetectionExclusion cmdlet.

VBRMalwareDetectionExclusion

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Removing Machines from Malware Exclusions List This example shows how to remove all machines from malware exclusions list. ``` $excludedvm = Get-VBRMalwareDetectionExclusion Remove-VBRMalwareDetectionExclusion -Exclusion $excludedvm -Note ``` Perform the following steps: 1. Run the [`Get-VBRMalwareDetectionExclusion`](get-vbrmalwaredetectionexclusion.md) cmdlet. Save the result to the `$excludedvm` variable. 2. Run the `Remove-VBRMalwareDetectionExclusion` cmdlet. Set the `$excludedvm` variable as the `Exclusion` parameter value. Provide the `Note` parameter. ::: ## Related Commands [`Get-VBRMalwareDetectionExclusion`](get-vbrmalwaredetectionexclusion.md)