Set-VBRMalwareDetectionExclusion

Short Description

Modifies notes for a list of machines added to malware exclusions.

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

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

VBRMalwareDetectionExclusion

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:

  1. 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).

  1. Run the Set-VBRMalwareDetectionExclusion cmdlet. Set the $excludedvm[3] variable as the Exclusion parameter value. Provide the Note parameter value.

Related Commands

Get-VBRMalwareDetectionExclusion

Page updated 3/1/2024

Page content applies to build 12.1.1.56