--- title: "Start-VBRUnstructuredBackupMalwareMetricsCollect" 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." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/start-vbrunstructuredbackupmalwaremetricscollect.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Unstructured Data Backup > Managing Unstructured Data Backups > Start-VBRUnstructuredBackupMalwareMetricsCollect" dateModified: "2026-10-22" --- # 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] [-RunAsync] [] ``` ## 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

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-VBRUnstructuredBackup 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

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBRSession`](vbrsession.md) object that contains details of the metrics collection session. ## Examples ::: example ### 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-VBRUnstructuredBackup`](get-vbrunstructuredbackup.md) 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. ::: ## Related Commands [`Get-VBRUnstructuredBackup`](get-vbrunstructuredbackup.md)