Get-VBREPSession

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

Type

Required

Position

Accept
Pipeline
Input

Name

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

String[]

False

Named

False

<CommonParameters>

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

Output Object

VBRSession[]

Examples

Get-VBREPSessionExample 1. Getting All Sessions of Backup Jobs Run by Veeam Agent in Standalone Mode

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

Get-VBREPSession

Get-VBREPSessionExample 2. Getting Specific Session of Backup Job Run by Veeam Agent in Standalone Mode

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"