Set-VBRObjectRestorePointStatus
Short Description
Modifies the malware status of restore points.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRObjectRestorePointStatus [-RestorePoint] <VBRObjectRestorePoint> -Status <VBRActivitySeverity> [<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 |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies restore points which malware status you want to modify.
Accepts the |
True |
0 |
True (ByPropertyName, ByValue) |
|
|
Status |
Specifies one of the following malware status:
|
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
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:
- Run the
Get-VBRObjectRestorePointReturns restore points created by jobs. cmdlet. Specify theIdparameter value. Save the result to the$rpvariable.The
Get-VBRObjectRestorePointcmdlet 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). - Run the
Set-VBRObjectRestorePointStatuscmdlet. Set the$rpvariable as theRestorePointparameter value. Set theCleanoption for theStatusparameter.
Related Commands
Get-VBRObjectRestorePointReturns restore points created by jobs.