Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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.

PS C:\PS> Get-VBREPSession

Example 2

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

PS C:\PS> Get-VBREPSession -Name "Backup Job Mediaserver"

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation