Remove-VBOObjectStorageRepository

Short Description

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

Syntax

Remove-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-WhatIf] [-Confirm][<CommonParameters>]

Detailed Description

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

ObjectStorageRepository

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

Accepts the VBOObjectStorageRepository object.

To get this object, run the Get-VBOObjectStorageRepository cmdlet.

True

Named

True (ByValue)

False

WhatIf

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

SwitchParameter

False

Named

False

False

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

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

None.

Examples

Remove-VBOObjectStorageRepositoryExample 1. Removing Object Storage

This example shows how to remove the Azure object storage 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-VBOObjectStorageRepository 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.

Related Commands

Get-VBOObjectStorageRepository