Disable-VBRCapacityExtentMaintenanceMode
Short Description
Disables the Maintenance mode for capacity extents.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRCapacityExtentMaintenanceMode -CapacityExtent <VBRCapacityExtent[]> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet disables the Maintenance mode for capacity extents of the scale-out backup repository.
Run the Enable-VBRCapacityExtentMaintenanceModeEnables the Maintenance mode for capacity extents. cmdlet to enable the Maintenance mode.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CapacityExtent |
Specifies the capacity extent. The cmdlet will disable the Maintenance mode for this extent.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Disabling Maintenance Mode for Capacity Extent
This example shows how to disable the Maintenance mode for the capacity extent.
|
$scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3" $extent = Get-VBRCapacityExtent -Repository $scaleoutrepository Disable-VBRCapacityExtentMaintenanceMode -CapacityExtent $extent |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value and provideScaleOutparameter. Save the result to the$scaleoutrepositoryvariable. - Run the
Get-VBRCapacityExtentReturns the capacity extents. cmdlet. Set the$scaleoutrepositoryvariable asRepositoryparameter value. Save the result to the$extentvariable. - Run the
Disable-VBRCapacityExtentMaintenanceModecmdlet. Set the$extentvariable as theCapacityExtentparameter value.
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRCapacityExtentReturns the capacity extents.