Export-VBRAudit
Short Description
Exports report on actions performed in Veeam Backup & Replication.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Export-VBRAudit -From <DateTime> -To <DateTime> -FileFullPath <String> [<CommonParameters>] |
Detailed Description
This cmdlet exports report that contain information on actions performed by an administrator in Veeam Backup & Replication.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
FileFullPath |
Specifies the name of the file and the target path where this file is located. This cmdlet will export the report to this file located in the specified destination. |
|
True |
Named |
False |
|
From |
Specifies the starting date of the report period. The cmdlet will generate a report starting from the specified date.
Accepts the |
|
True |
Named |
False |
|
To |
Specifies the end date of the report period. The cmdlet will generate a report for a period ending on the specified date.
Accepts the |
|
True |
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 VBRAudit object that contains details on the exported report on actions performed by an administrator in Veeam Backup & Replication.
Examples
Exporting Report on Actions Performed in Veeam Backup & Replication
This example shows how to export a report that contains information on actions performed by an administrator in Veeam Backup & Replication for the period from 02/02/2023 to 03/04/2023.
|
$fromdate = Get-Date -Year 2023 -Month 2 -Day 2 -Hour 0 -Minute 0 -Second 0 $todate = Get-Date -Year 2023 -Month 3 -Day 4 -Hour 0 -Minute 0 -Second 0 Export-VBRAudit -From $fromdate -To $todate -FileFullPath "C:\Reports\02-03.2021AuditReport.txt" |
Perform the following steps:
- Run the
Get-Datecmdlet. Specify theYear,Month,Day,Hour,MinuteandSecondparameter values. Save the result to the$fromdatevariable. - Run the
Get-Datecmdlet. Specify theYear,Month,Day,Hour,MinuteandSecondparameter values. Save the result to the$todatevariable. - Run the
Export-VBRAuditcmdlet. Specify the following settings:- Set the
$fromdatevariable as theFromparameter value. - Set the
$todatevariable as theToparameter value. - Specify the
FileFullPathparameter value.
- Set the
Related Commands