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

Get-VBORepository

Short Description

Returns backup repositories.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get backup repositories added to Veeam Backup for Microsoft 365 by name or by associated backup proxy server.

Get-VBORepository [-Name <string>] [-LongTerm] [-Proxy <VBOProxy>]  [<CommonParameters>]

  • Get a backup repository added to Veeam Backup for Microsoft 365 by ID.

Get-VBORepository -Id <guid>  [<CommonParameters>]

Detailed Description

This cmdlet returns backup repositories added to the Veeam Backup for Microsoft 365 infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Id

Specifies an ID assigned to a backup repository. The cmdlet will return the backup repository with this ID.

Guid

True

Named

False

False

LongTerm

Defines that the cmdlet will return settings of backup repositories extended with an archive object storage.

Default: True

SwitchParameter

False

Named

False

False

Name

Specifies a name of a backup repository. The cmdlet will return the backup repository with this name.

String

False

Named

False

True

Proxy

Specifies a backup proxy server associated with backup repositories. The cmdlet will return backup repositories deployed on this backup proxy.

Accepts the VBOProxy object.

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

False

Named

True (ByValue)

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

The cmdlet returns the VBORepository object that contains settings of a backup repository.

Examples

Get-VBORepositoryExample 1. Getting All Backup Repositories

Get-VBORepositoryExample 2. Getting Repository by ID

Get-VBORepositoryExample 3. Getting Repository by Name

Get-VBORepositoryExample 4. Getting Repositories by Name Using Wildcards

Get-VBORepositoryExample 5. Getting Backup Repositories Associated with Specific Backup Proxy Server

Related Commands

Get-VBOProxy