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

Get-VBRRepositoryExtent

Short Description

Returns scale-out backup repository extents.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Get-VBRRepositoryExtent -Repository <VBRScaleOutBackupRepository>  [<CommonParameters>]

Detailed Description

This cmdlet returns the array of the scale-out backup repository extents.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Repository

Specifies the scale-out backup repository. The cmdlet will return the extents added to this repository.

Accepts VBRScaleOutBackupRepository, GUID or string (repository name) types.

True

Named

True (ByValue,
ByProperty
Name)

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

VBRRepositoryExtent[]

Example 1

The example shows how to get the array of the scale-out repository extents. The scale-out repository is specified by name.

PS C:\PS> Get-VBRRepositoryExtent -Repository "Veeam Performance Scale-Out Repository"

Example 2

The example shows how to get the array of the scale-out repository extents.

You will need to perform the following steps:

  1. Run Get-VBRBackupRepository to get the scale-out repository. Save the result to the $scaleoutrepository variable.
  2. Run Get-VBRRepositoryExtent with the $scaleoutrepository variable.

PS C:\PS> $scaleoutrepository = Get-VBRBackupRepository -Name "Veeam Performance Scale-Out Repository" -ScaleOut

PS C:\PS> Get-VBRRepositoryExtent -Repository $scaleoutrepository

Example 3

The example shows how to get the particular scale-out repository extent and modify the maximum allowed number of concurrent tasks for it.

You will need to perform the following steps:

  1. Run Get-VBRRepositoryExtent to get the array of the extents. Save the result to the $scaleoutrepository variable.
  2. Get the required extent. Use the .repository property of the scale-out repository extent object to get the extent you want to modify. Save the result to the $extent variable.
  3. Run Set-VBRBackupRepository with the $extent variable. Use the MaxConcurrentJobs parameter to specify the number of concurrent tasks.

PS C:\PS> $scaleoutrepository = Get-VBRRepositoryExtent -Repository "ScaleOutRepository"

PS C:\PS> $extent = $scaleoutrepository[0].repository

PS C:\PS> Set-VBRBackupRepository -Repository $extent -MaxConcurrentJobs 9

Related Commands

Get-VBRBackupRepository

Set-VBRBackupRepository

Get-VBRRepositoryExtent

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

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