--- title: "Export-VBOLog" description: "This cmdlet exports log files collected for the specified server components. To export log files collected for Veeam Backup for Microsoft 365 jobs, run the Export-VBOJobLog cmdlet." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/export-vbolog.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Veeam Backup for Microsoft 365 Server Components Logs > Export-VBOLog" dateModified: "2026-08-21" --- # Export-VBOLog ## Short Description Exports the Veeam Backup for Microsoft 365 server log files. ## Syntax This cmdlet provides the following parameter sets:
ExportAllParameterSet
ExportDatePeriodParameterSet
ExportDaysParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
All |
Defines that the cmdlet will export logs for all time. You cannot use the Default: False |
|
True |
Named |
False |
|
DayPeriod |
Specifies the number of last N days. The cmdlet will export logs for these days. Permitted values: 1–999. Note: You cannot use the |
|
True |
Named |
False |
|
From |
Specifies date and time, starting from which this cmdlet will export the logs. If this parameter is used, you must use the |
|
False |
Named |
False |
|
ServerComponent |
Specifies an array of the Veeam Backup for Microsoft 365 server components. The cmdlet will export logs of the specified server component. Accepts the To get this object, run the |
True |
Named |
False |
|
|
TargetPath |
Specifies a target path for the log export. The cmdlet will export log files to this location. |
|
True |
Named |
False |
|
To |
Specifies the date and time, until which this cmdlet will export the logs. If this parameter is used, you must use the |
|
False |
Named |
False |