--- title: "Export-VBOJobLog" description: "This cmdlet exports log files collected for the specified Veeam Backup for Microsoft 365 jobs. If a job or a Microsoft organization is renamed, logs created before the renaming are not exported." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/export-vbojoblog.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Veeam Backup for Microsoft 365 Job Logs > Export-VBOJobLog" dateModified: "2026-08-21" --- # Export-VBOJobLog ## Short Description Exports the Veeam Backup for Microsoft 365 job 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 |
|
JobIds |
Specifies an array of job IDs. The cmdlet will export logs for jobs with the specified IDs. |
|
True |
0 |
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 |