Get-VBRRestoreSession

In this article

    Short Description

    Returns restore sessions.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Get-VBRRestoreSession [-Name <string[]>]  [<CommonParameters>]

    -OR-

    Get-VBRRestoreSession [-Id <guid[]>]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns restore sessions stored in Veeam Backup & Replication database.

    You can get the list of all restore sessions or get the restore sessions of a specific VM or VMs.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the array of VM names. The cmdlet will return the restore sessions of these VMs.

    False

    Named

    False

    True

    Id

    Specifies the array of the restore sessions IDs. The cmdlet will return the restore sessions with these IDs.

    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 looks for all restore sessions stored in the database.

    Get-VBRRestoreSession

    Example 2

    This command looks for the restore sessions of the VMs named "Hv_DNS" and "Hv_DC".

    Get-VBRRestoreSession -Name "Hv_DNS", "Hv_DC"