Get-VBOObjectStorageRepository

Short Description

Returns object storage added to Veeam Backup for Microsoft 365.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get object storage by object storage name.

Get-VBOObjectStorageRepository [-Name <String>] [-LongTerm <SwitchParameter>] [<CommonParameters>]

  • Get object storage by object storage ID.

Get-VBOObjectStorageRepository -Id <Guid>  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of object storage added to Veeam Backup for Microsoft 365. You can get the following types of object storage:

  • Azure Blob object storage
  • Amazon S3 object storage
  • S3 Compatible object storage (including IBM Cloud Object Storage and Wasabi Cloud Object Storage)

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Name

Specifies object storage name. The cmdlet will return object storage with this name.

String

False

Named

False

True

LongTerm

Defines that the cmdlet will return settings for the following object storage:

  • Azure Blob Storage Archive access tier
  • all Amazon S3 Glacier storage classes

Default: True

SwitchParameter

False

Named

False

False

Id

Specifies object storage ID. The cmdlet will return object storage with this ID.

Guid

True

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

The cmdlet returns the VBOObjectStorageRepository object that contains an array of object storage added to Veeam Backup for Microsoft 365.

Examples

Get-VBOObjectStorageRepositoryExample 1. Getting All Object Storage

This command returns all object storage added to the Veeam Backup for Microsoft 365 infrastructure.

Get-VBOObjectStorageRepository

Id              : e0edfac7-27eb-4fa3-a02d-892a7e8e48cb

Name            : Amazon Archive

Description     : Created by SRV0101\Administrator at 4:54:43 PM

Type            : AmazonS3

EnableSizeLimit : False

SizeLimit       : 0 GB

UsedSpace       : 29.5 MB

FreeSpace       :

IsLongTerm      : True

 

Id              : 074220ce-50bb-4001-b6c3-a2fbb3983c69

Name            : Azure Archive

Description     : Created by SRV0101\Administrator at 7:01:32 PM

Type            : AzureBlob

EnableSizeLimit : False

SizeLimit       : 0 GB

UsedSpace       : 29.1 MB

FreeSpace       :

IsLongTerm      : True

 

Id              : 18e534cd-51c1-4bcf-bf7b-f7633d07997b

Name            : Azure

Description     : Created by SRV0101\Administrator at 6:34:29 PM

Type            : AzureBlob

EnableSizeLimit : False

SizeLimit       : 1024 GB

UsedSpace       : 44.2 MB

FreeSpace       :

IsLongTerm      : False

Get-VBOObjectStorageRepositoryExample 2. Getting Object Storage with Specific Name

This command returns object storage with a name ending with Archive.

Get-VBOObjectStorageRepository -Name "*Archive"

Id              : e0edfac7-27eb-4fa3-a02d-892a7e8e48cb

Name            : Amazon Archive

Description     : Created by SRV0101\Administrator at 4:54:43 PM

Type            : AmazonS3

EnableSizeLimit : False

SizeLimit       : 0 GB

UsedSpace       : 29.5 MB

FreeSpace       :

IsLongTerm      : True

 

Id              : 074220ce-50bb-4001-b6c3-a2fbb3983c69

Name            : Azure Archive

Description     : Created by SRV0101\Administrator at 7:01:32 PM

Type            : AzureBlob

EnableSizeLimit : False

SizeLimit       : 0 GB

UsedSpace       : 29.1 MB

FreeSpace       :

IsLongTerm      : True

Get-VBOObjectStorageRepositoryExample 3. Getting Object Storage with Specific ID

This command returns the e0edfac7-27eb-4fa3-a02d-892a7e8e48cb object storage added to Veeam Backup for Microsoft 365.

Get-VBOObjectStorageRepository -Id e0edfac7-27eb-4fa3-a02d-892a7e8e48cb

Id              : e0edfac7-27eb-4fa3-a02d-892a7e8e48cb

Name            : Amazon Archive

Description     : Created by SRV0101\Administrator at 4:54:43 PM

Type            : AmazonS3

EnableSizeLimit : False

SizeLimit       : 0 GB

UsedSpace       : 29.5 MB

FreeSpace       :

IsLongTerm      : True