Start-VBRUnstructuredBackupMalwareMetricsCollect

Short Description

Starts collecting malware detection metrics for file backups and object storage backups.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Start-VBRUnstructuredBackupMalwareMetricsCollect [-Backup] <VBRUnstructuredBackup> [-RunAsync] [<CommonParameters>]

Detailed Description

This cmdlet starts a task that collects malware detection metrics for the specified file backup or object storage backup. Veeam Backup & Replication collects the metrics from the malware detection data of the backup.

By default, the cmdlet waits until the task completes. To run the task in the background, use the RunAsync parameter.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Backup

Specifies the file backup or object storage backup for which you want to collect malware detection metrics.

Accepts the VBRUnstructuredBackup object. To get this object, run the Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet.

VBRUnstructuredBackup

True

0

True (ByPropertyName, ByValue)

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

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

Output Object

The cmdlet returns the VBRSession object that contains details of the metrics collection session.

Examples

Collecting Malware Metrics for Unstructured Backup

This example shows how to start collecting malware detection metrics for a file backup or object storage backup.

$backup = Get-VBRUnstructuredBackup -Name "FileShare Backup"

Start-VBRUnstructuredBackupMalwareMetricsCollect -Backup $backup

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet. Specify the Name parameter value. Save the result to the $backup variable.
  2. Run the Start-VBRUnstructuredBackupMalwareMetricsCollect cmdlet. Set the $backup variable as the Backup parameter value.

Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs.

Page updated 2026-10-22

Page content applies to build 13.2.0.193