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

Get-VBRRestoreSession

In this article

    Short Description

    Returns restore sessions.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Get-VBRRestoreSession [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<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 VM(s).

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the name of the VM you want to get the restore session of, or search conditions.

    You can specify multiple names separated by commas.

    False

    Named

    False

    True

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example 1

    This command looks for all restore sessions stored in the database.

    PS C:\PS> Get-VBRRestoreSession

    Example 2

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

    PS C:\PS> Get-VBRRestoreSession -Name "Hv_DNS", "Hv_DC"