--- title: "Get-VBORepositoryUpgradeSession" description: "This cmdlet returns sessions that are started to upgrade backup repositories." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/get-vborepositoryupgradesession.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > JET-based Backup Repositories and Object Storage Repositories > Get-VBORepositoryUpgradeSession" dateModified: "2026-08-21" --- # Get-VBORepositoryUpgradeSession ## Short Description Returns sessions started to upgrade backup repositories. ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns sessions that are started to upgrade backup repositories. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Repository

Specifies a backup repository. The cmdlet will return sessions that are started to upgrade the specified backup repository.

Accepts the VBORepository object.

To get this object, run the Get-VBORepository cmdlet.

VBORepository

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VBORepositoryUpgradeSession`](vborepositoryupgradesession.md) object that contains details on sessions that are running to upgrade backup repositories. ## Examples ::: example ### Example 1: Getting Active Sessions Started to Upgrade Backup Repositories This command returns all active sessions that are started to upgrade backup repositories. ``` Get-VBORepositoryUpgradeSession ``` ::: ::: example ### Example 2: Getting Active Session Started to Upgrade Specific Backup Repository This example shows how to get an active session started to upgrade the *Repository 09* backup repository. ``` $repository = Get-VBORepository -Name "Repository 09" Get-VBORepositoryUpgradeSession -Repository $repository ``` Perform the following steps: 1. Run the [`Get-VBORepository`](get-vborepository.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$repository` variable. 2. Run the `Get-VBORepositoryUpgradeSession` cmdlet. Set the `$repository` variable as the `Repository` parameter value. ::: ## Related Commands [`Get-VBORepository`](get-vborepository.md)