Get-VSBTaskSession

In this article

    Short Description

    Returns tasks performed during the specified SureBackup session.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Get-VSBTaskSession [-Session] <CSbSession> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet returns the list of tasks performed during the specified SureBackup session.

    Run Get-VBRTaskSession to get the tasks for backup, replication and backup copy sessions.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Session

    Specifies the array of SureBackup sessions. The cmdlet will return tasks performed during these sessions.

    True

    1

    True (ByValue,
    ByProperty
    Name)

    False

    Name

    Specifies the array of SureBackup job names. The cmdlet will return tasks performed for VMs in these jobs during the selected job session.

    False

    Named

    False

    True

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Example 1

    This command gets the list of tasks performed for the VMs named "DC" and "DNS" in the SureBackup job session named "Exchange SureJob". The SureBackup session is obtained with Get-VSBSession and piped down.

    Get-VSBSession -Name "Exchange SureJob" | Get-VSBTaskSession -Name "DC", "DNS"

    Example 2

    This command gets the list of tasks performed for the VMs named "DC" and "DNS" in the SureBackup job session represented by the $ExchangeSureJob variable. The SureBackup session is obtained with Get-VSBSession and assigned to the variable beforehand.

    Get-VSBTaskSession -Session $ExchangeSureJob -Name "DC", "DNS"

    Related Commands

    Get-VSBSession

    I want to report a typo

    There is a misspelling right here:

     

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