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

Enable-VBRCapacityExtentMaintenanceMode

Short Description

Enables the maintenance mode for capacity extents.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Enable-VBRCapacityExtentMaintenanceMode -CapacityExtent <VBRCapacityExtent[]> [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet enables the maintenance mode for capacity extents.

Run Disable-VBRCapacityExtentMaintenanceMode to disable the maintenance mode.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

CapacityExtent

Specifies an array of capacity extents. The cmdlet will set these extents to the maintenance mode.

True

Named

True (ByValue,
ByPropertyName)

False

RunAsync

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

False

Named

False

False

<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

Example

This example shows how to set the maintenance mode for a capacity extents.

  1. Run Get-VBRBackupRepository to get a scale-out repository. Save the result to the $scaleoutrepository variable.
  2. Run Get-VBRCapacityExtent to get capacity extents that you want to set to the maintenance mode. Save the result to the $extent variable.
  3. Run Enable-VBRCapacityExtentMaintenanceMode with the $extent variable.

PS C:\PS> $scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3"

PS C:\PS> $extent = Get-VBRCapacityExtent -Repository $scaleoutrepository

PS C:\PS> Enable-VBRCapacityExtentMaintenanceMode -CapacityExtent $extent

Related Commands

Get-VBRBackupRepository

Get-VBRCapacityExtent

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 Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation