--- title: "Get-VBORepositoryMaintenanceSession" description: "This cmdlet returns maintenance sessions that are started for backup repositories. During maintenance session, Veeam Backup for Microsoft 365 suspends operations on the backup repositories, and you can perform service operations on the storage..." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/get-vborepositorymaintenancesession.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > JET-based Backup Repositories and Object Storage Repositories > Get-VBORepositoryMaintenanceSession" dateModified: "2026-08-21" --- # Get-VBORepositoryMaintenanceSession ## Short Description Returns maintenance sessions started for backup repositories. ## Syntax This cmdlet provides the following parameter sets:
GetByFilter (Default)
GetById
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an ID of the maintenance session. The cmdlet will return details of this session. |
|
True |
Named |
False |
|
Repository |
Specifies a backup repository. The cmdlet will return maintenance sessions that are started for the specified backup repository. Accepts the To get this object, run the |
False |
Named |
True (ByValue) |
|
|
State |
Specifies a session state. The cmdlet will return maintenance sessions that are in the specified state:
|
|
False |
Named |
False |