Remove-VBOObjectStorageRepository

Short Description

Removes an object storage repository from the Veeam Backup for Microsoft 365 infrastructure.

Note

In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Remove-VBORepositoryRemoves backup repositories. cmdlet with the Force:$true parameter instead.

Syntax

Remove-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository>

[-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet removes an object storage repository from the Veeam Backup for Microsoft 365 infrastructure.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ObjectStorageRepository

Specifies an object storage repository that you want to remove from the Veeam Backup for Microsoft 365 infrastructure.

Accepts the VBOObjectStorageRepository object.

To get this object, run the Get-VBOObjectStorageRepositoryReturns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure. In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Get-VBORepository cmdlet instead. cmdlet.

VBOObjectStorageRepository

True

Named

True (ByValue)

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

Default: True

SwitchParameter

False

Named

False

WhatIf

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

Default: False

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.

Examples

Removing Object Storage Repository

This example shows how to remove the Azure object storage repository from the Veeam Backup for Microsoft 365 infrastructure.

$repository = Get-VBOObjectStorageRepository -Name "Azure"

Remove-VBOObjectStorageRepository -ObjectStorageRepository $repository

Perform the following steps:

  1. Run the Get-VBOObjectStorageRepositoryReturns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure. In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Get-VBORepository cmdlet instead. cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Remove-VBOObjectStorageRepository cmdlet. Set the $repository variable as the ObjectStorageRepository parameter value.

Get-VBOObjectStorageRepositoryReturns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure. In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Get-VBORepository cmdlet instead.

Page updated 2026-08-21

Page content applies to build 8.6.0.1102