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

Get-VBREPSession

Short Description

Returns Veeam Agent for Microsoft Windows jobs session.

Syntax

This cmdlet provides 2 parameter sets:

  • For looking for all Veeam Agent for Microsoft Windows jobs sessions:

Get-VBREPSession  [<CommonParameters>]

  • For looking for Veeam Agent for Microsoft Windows jobs sessions by session names:

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

Detailed Description

This cmdlet returns Veeam Agent for Microsoft Windows jobs sessions that have been run.

You can get all Veeam Agent for Microsoft Windows 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 Veeam Agent for Microsoft Windows job names. The cmdlet will return Veeam Agent for Microsoft Windows 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 Veeam Agent for Microsoft Windows jobs sessions.

Get-VBREPSession

Example 2

This command gets the sessions of a selected Veeam Agent for Microsoft Windows job.

Get-VBREPSession -Name "Backup Job Mediaserver"