--- title: "Enable-VBRArchiveExtentMaintenanceMode" description: "Enables the Maintenance mode for the archive extent. Product Edition: Enterprise Plus, Veeam Universal License This cmdlet enables the Maintenance mode for the archive extent of the scale-out backup repository." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/enable-vbrarchiveextentmaintenancemode.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Scale-Out Backup Repositories > Archive Tier > Enable-VBRArchiveExtentMaintenanceMode" dateModified: "2026-08-19" --- # Enable-VBRArchiveExtentMaintenanceMode ## Short Description Enables the Maintenance mode for the archive extent. **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax ``` Enable-VBRArchiveExtentMaintenanceMode -ArchiveExtent [-RunAsync] [] ``` ## Detailed Description This cmdlet enables the Maintenance mode for the archive extent of the scale-out backup repository. Run the [`Disable-VBRArchiveExtentMaintenanceMode`](disable-vbrarchiveextentmaintenancemode.md) cmdlet to disable the Maintenance mode. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ArchiveExtent

Specifies the archive extent. The cmdlet will set this extent to the Maintenance mode.

Accepts the VBRArchiveExtent object. To get this object, run the Get-VBRArchiveExtent cmdlet.

VBRArchiveExtent[]

True

Named

True (ByPropertyName, ByValue)

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object [`VBRSession`](vbrsession.md) ## Examples ::: example ### Enabling Maintenance Mode for Archive Extent This example shows how to set the Maintenance mode for the archive extent. ``` $scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3" $extent = Get-VBRArchiveExtent -Repository $scaleoutrepository Enable-VBRArchiveExtentMaintenanceMode -ArchiveExtent $extent ``` Perform the following steps: 1. Run the [`Get-VBRBackupRepository`](get-vbrbackuprepository.md) cmdlet. Provide the `ScaleOut` parameter. Specify the `Name` parameter value. Save the result to the `$scaleoutrepository` variable. 2. Run the [`Get-VBRArchiveExtent`](get-vbrarchiveextent.md) cmdlet. Set the `$scaleoutrepository` variable as the `Repository` parameter value. Save the result to the `$extent` variable. 3. Run the `Enable-VBRArchiveExtentMaintenanceMode` cmdlet. Set the `$extent` variable as the `ArchiveExtent` parameter value. ::: ## Related Commands - [`Get-VBRArchiveExtent`](get-vbrarchiveextent.md) - [`Get-VBRBackupRepository`](get-vbrbackuprepository.md)