Set-VBRMalwareDetectionExclusion
Short Description
Modifies notes for a list of machines added to malware exclusions.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRMalwareDetectionExclusion -Exclusion <VBRMalwareDetectionExclusion> [-Note <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies notes for a list of machines added to malware exclusions.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Exclusion | Specifies a machine added to malware exclusions. The cmdlet will modify note for this machine. | Accepts the VBRMalwareDetectionExclusion object. To create this object, run the Get-VBRMalwareDetectionExclusion cmdlet. | True | Named | 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
Modifying Notes for Machines added to Malware Exclusions List
This example shows how to modifies notes for machines added to malware exclusions.
$excludedvm = Get-VBRMalwareDetectionExclusion Set-VBRMalwareDetectionExclusion -Exclusion $excludedvm[3] -Note |
Perform the following steps:
- Run the Get-VBRMalwareDetectionExclusion cmdlet. Save the result to the $excludedvm variable.
The Get-VBRMalwareDetectionExclusion cmdlet will return an array of machines. Mind the ordinal number of the necessary restore point (in our example, it is the fourth restore session in the array).
- Run the Set-VBRMalwareDetectionExclusion cmdlet. Set the $excludedvm[3] variable as the Exclusion parameter value. Provide the Note parameter.
Related Commands