Set-VBRObjectRestorePointStatus

Short Description

Modifies the malware status of restore points.

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-VBRObjectRestorePointStatus -RestorePoint <VBRObjectRestorePoint> -Status {Clean | Suspicious | Infected}  [<CommonParameters>]

Detailed Description

This cmdlet modifies the malware status of restore points.

Important

The cmdlet does not return an output. To get details on the updated malware status of restore points, run the Get-VBRObjectRestorePoint cmdlet.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

RestorePoint

Specifies restore points which malware status you want to moduify.

Accepts the VBRObjectRestorePoint object. To get this object, run the Get-VBRObjectRestorePoint cmdlet.

True

0

True (ByPropertyName, ByValue)

Status

Specifies one of the following malware status:

  • Clean
  • Suspicious
  • Infected

VBRActivitySeverity

True

Named

False

<CommonParameters>

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

Output Object

None.

Examples

Modifying Malware Status of Restore Points

This example shows how to set the Clean status for restore points.

$rp = Get-VBRObjectRestorePoint -Id "2ee79fec-9aa8-4058-a147-ff6b76ef2924"

Set-VBRObjectRestorePointStatus -RestorePoint $rp[0] -Status Clean

Perform the following steps:

  1. Run the Get-VBRObjectRestorePoint cmdlet. Specify the Id parameter value. Save the result to the $rp variable.

The Get-VBRObjectRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the first restore session in the array).

  1. Run the Set-VBRObjectRestorePointStatus cmdlet. Set the $rp variable as the RestorePoint parameter value. Set the Clean option for the Status parameter.

Related Commands

Get-VBRObjectRestorePoint

Page updated 4/22/2024

Page content applies to build 12.1.1.56