This is an archive version of the document. To get the most up-to-date information, see the current version.

Remove-VBORepository

Short Description

Removes backup repositories.

Syntax

Remove-VBORepository -Repository <VBORepository> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet allows you to remove backup repositories from a Veeam Backup for Microsoft Office 365 infrastructure.

Remove-VBORepository Note

Before removing backup repositories make sure that there are no backup jobs targeted at this repository. Otherwise Veeam Backup for Microsoft Office 365 will not allow you to remove this repository.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Repository

Specifies a backup repository. The cmdlet will remove this repository from Veeam Backup for Microsoft Office 365 infrastructure.

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

True

Named

True (ByValue)

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without performing any action.

SwitchParameter

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if users are sure that they want to continue.

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.

Examples

Removing Backup Repository

This example shows how to remove the Repository 05 backup repositories from the Veeam Backup for Microsoft Office 365 infrastructure.

$repository = Get-VBORepository -Name "Repository 05"

Remove-VBORepository -Repository $repository

Perform the following steps:

  1. Run the Get-VBORepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Remove-VBORepository cmdlet. Set the $repository variable as the Repository parameter value.

Related Commands

Get-VBORepository