Get-VBREPSession

In this article

    Short Description

    Returns sessions of backup jobs run by Veeam Agent operating in a standalone mode.

    Syntax

    This cmdlet provides parameter sets that allow you to:

    • Look for all sessions of backup jobs run by Veeam Agent operating in a standalone mode.

    Get-VBREPSession  [<CommonParameters>]

    • Look for sessions of backup jobs run by Veeam Agent operating in a standalone mode by session names.

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

    Detailed Description

    This cmdlet returns sessions of backup jobs run by Veeam Agent operating in a standalone mode.

    You can get all jobs sessions or search for instances directly by name. Use an appropriate parameter set for each case.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the array of job names. The cmdlet will return jobs with these names.

    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.

    Return Type

    VBRSession[]

    Example 1

    This command returns all sessions of backup jobs run by Veeam Agent operating in a standalone mode.

    Get-VBREPSession

    Example 2

    This command gets a specific session of a backup job run by Veeam Agent operating in a standalone mode.

    Get-VBREPSession -Name "Backup Job Mediaserver"