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
|
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 |
True |
0 |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
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:
- Run the
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Start-VBRUnstructuredBackupMalwareMetricsCollectcmdlet. Set the$backupvariable as theBackupparameter value.
Related Commands
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs.