Help Center
Choose product document...
Veeam Backup for Microsoft Office 365
PowerShell Reference

Remove-VBORepository

Short Description

Removes backup repositories.

Syntax

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

Detailed Description

This cmdlet allows you to remove the specified backup repository from Veeam Backup for Microsoft Office 365.

Remove-VBORepository Note:

Before removing a backup repository 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

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Repository

Specifies the backup repository you want to remove.

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.

False

Named

False

False

Confirm

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

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.

Example

This example shows how to remove a backup repository.

You will need to perform the following steps:

  1. Run Get-VBORepository to get the backup repository. Save the result to the $repository variable.
  2. Run Remove-VBORepository with the $repository variable.

PS C:\PS> $repository = Get-VBORepository -Name "Reports"

PS C:\PS> Remove-VBORepository -Repository $repository

Related Commands

Get-VBORepository

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference