--- title: "Set-VBRHistoryOptions" description: "This cmdlet modifies job sessions history settings. To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrhistoryoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Veeam Backup & Replication Settings > Specifying Session History Settings > Set-VBRHistoryOptions" dateModified: "2026-08-19" --- # Set-VBRHistoryOptions ## Short Description Modifies job sessions history settings. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
KeepAll
RetentionNumber
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
KeepAllSessions |
Defines that Veeam Backup & Replication will not delete the session information from the database. Default: |
|
False |
Named |
False |
|
RetentionLimitWeeks |
Specifies a period in weeks. Veeam Backup & Replication will keep the session information from the database for this period of time. Default: |
|
False |
Named |
False |