This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBOHistorySettings

In this article

    Short Description

    Modifies job session history settings.

    Syntax

    This cmdlet provides the following parameter sets.

    • Modify session history settings in weeks:

    Set-VBOHistorySettings -KeepOnlyLastXweeks <Int32>  [<CommonParameters>]

    • Modify session history settings to keep job sessions in Veeam Backup for Microsoft Office 365 forever:

    Set-VBOHistorySettings -KeepAllSessions [<SwitchParameter>] [<CommonParameters>]

    Detailed Description

    This cmdlet configures the job session history settings. By default, Veeam Backup for Microsoft Office 365 will keep job sessions forever.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    KeepOnly
    LastXweeks

    Specifies the retention period for job sessions (weeks).

    Default: 53 weeks.

    True

    Named

    False

    False

    Keep
    AllSessions

    Indicates that Veeam Backup for Microsoft Office 365 will keep job sessions forever.

    True

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

    Example 1

    This example shows how to set job session retention period in weeks.

    Set-VBOHistorySettings -KeepOnlyLastXweeks 1

    Example 2

    This example shows how to configure Veeam Backup for Microsoft Office 365 to keep job sessions forever.

    Set-VBOHistorySettings -KeepAllSessions

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.