--- title: "VBORepositoryMaintenanceSession" description: "Contains details about a maintenance session. Start-VBORepositoryMaintenanceSession Get-VBORepositoryMaintenanceSession Stop-VBORepositoryMaintenanceSession" canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/vborepositorymaintenancesession.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Types > VBORepositoryMaintenanceSession" dateModified: "2026-08-21" --- # VBORepositoryMaintenanceSession Contains details about a maintenance session.

Property

Type

Description

Id

GUID

Maintenance session ID.

State

VBOControllerSessionState

Status of the maintenance session. Possible values:

  • Initialized
  • Preparing
  • Running
  • Finishing
  • Finished
  • Canceling
  • Canceled
  • Failing
  • Failed

StartTime

DateTime

Date and time when the maintenance session was started.

EndTime

DateTime?

Date and time when the maintenance session ended.

ErrorMessage

String?

Error message when the maintenance session failed.

RepositoryIds

IReadOnlyCollection

Array of IDs of backup repositories involved in the maintenance session.

WaitForSessionsTimeout

TimeSpan

Timeout used to wait for the related sessions to finish before starting the current session.

ForceStopSessions

Bool

If True, the related sessions are stopped, the maintenance session is created and started.

ForceStopSessionsTimeout

TimeSpan

Timeout used to wait for the related sessions to stop after Veeam Backup for Microsoft 365 forced them to stop.

## Related Commands - [`Start-VBORepositoryMaintenanceSession`](start-vborepositorymaintenancesession.md) - [`Get-VBORepositoryMaintenanceSession`](get-vborepositorymaintenancesession.md) - [`Stop-VBORepositoryMaintenanceSession`](stop-vborepositorymaintenancesession.md)