Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Remove-VBRExternalRepository

Short Description

Removes external repositories from backup infrastructure.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Remove-VBRExternalRepository -ExternalRepository <VBRExternalRepository> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes external repositories from your backup infrastructure.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

ExternalRepository

Specifies the external repository that you want to remove.

Accepts the VBRExternalRepository type.

True

Named

True (ByValue)

 

WhatIf

Indicates that the cmdlet will write a message that describes the effects of running the cmdlet. The cmdlet won`t perform any action.

False

Named

False

 

Confirm

Indicates that the cmdlet will require a confirmation that you want to run the cmdlet.

False

Named

False

 

<CommonParameters>

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

Return Type

Example

This example shows how to remove an external repository from your backup infrastructure.

  1. Run Get-VBRExternalRepository to get the external repository that you want to remove. Save the result to the $repository variable.
  2. Run Remove-VBRExternalRepository with the $repository variable.

$repository = Get-VBRExternalRepository -Name "External repository"

Remove-VBRExternalRepository -ExternalRepository $repository

Related Commands

Get-VBRExternalRepository

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation