---
title: "Get-VBOObjectStorageRepository"
description: "This cmdlet returns an array of object storage repositories added to Veeam Backup for Microsoft 365. You can get the following types of object storage repositories: Azure Blob Storage Amazon S3 object storage repository S3 Compatible object..."
canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/get-vboobjectstoragerepository.html"
breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > JET-based Backup Repositories and Object Storage Repositories > Object Storage Deprecated Cmdlets > Get-VBOObjectStorageRepository"
dateModified: "2026-08-21"
---
# Get-VBOObjectStorageRepository
## Short Description
Returns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure.
::: note
In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the [`Get-VBORepository`](get-vborepository.md) cmdlet instead.
:::
## Syntax
This cmdlet provides the following parameter sets:
## Detailed Description
This cmdlet returns an array of object storage repositories added to Veeam Backup for Microsoft 365. You can get the following types of object storage repositories:
- Azure Blob Storage
- Amazon S3 object storage repository
- S3 Compatible object storage repository (including IBM Cloud Object Storage and Wasabi Cloud Object Storage)
## Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
Id
|
Specifies the object storage repository ID. The cmdlet will return an object storage repository with this ID.
|
Guid
|
True
|
Named
|
False
|
|
LongTerm
|
Defines that the cmdlet will return settings for the following object storage repositories: - Azure Blob Storage Archive access tier
- all Amazon S3 Glacier storage classes
Default: True
|
SwitchParameter
|
False
|
Named
|
False
|
|
Name
|
Specifies the object storage repository name. The cmdlet will return object an storage repository with this name.
|
String
|
False
|
Named
|
False
|
``
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn.
## Output Object
The cmdlet returns the [`VBOObjectStorageRepository`](vboobjectstoragerepository.md) object that contains an array of object storage repositories added to Veeam Backup for Microsoft 365.
## Examples
::: example
### Example 1: Getting All Object Storage Repositories
This command returns all object storage repositories 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 : 1024 GB
UsedSpace : 29.5 MB
FreeSpace :
IsLongTerm : True
IsSecondary :
EnableImmutability : True
EnableDefragmentation : True
ArchiveStorageClass : GlacierDeepArchive
Id : 074220ce-50bb-4001-b6c3-a2fbb3983c69
Name : Azure Archive
Description : Created by SRV0101\Administrator at 7:01:32 PM
Type : AzureBlob
EnableSizeLimit : False
SizeLimit : 1024 GB
UsedSpace : 29.1 MB
FreeSpace :
IsLongTerm : True
IsSecondary :
EnableImmutability : True
EnableDefragmentation : True
Id : 18e534cd-51c1-4bcf-bf7b-f7633d07997b
Name : Azure
Description : Created by SRV0101\Administrator at 6:34:29 PM
Type : AzureBlob
EnableSizeLimit : False
SizeLimit : 0 GB
UsedSpace : 44.2 MB
FreeSpace :
IsLongTerm : False
IsSecondary :
EnableImmutability : False
EnableDefragmentation : True
```
:::
::: example
### Example 2: Getting Object Storage Repository with Specific Name
This command returns an object storage repository 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 : 1024 GB
UsedSpace : 29.5 MB
FreeSpace :
IsLongTerm : True
IsSecondary :
EnableImmutability : True
EnableDefragmentation : True
ArchiveStorageClass : GlacierDeepArchive
Id : 074220ce-50bb-4001-b6c3-a2fbb3983c69
Name : Azure Archive
Description : Created by SRV0101\Administrator at 7:01:32 PM
Type : AzureBlob
EnableSizeLimit : False
SizeLimit : 1024 GB
UsedSpace : 29.1 MB
FreeSpace :
IsLongTerm : True
IsSecondary :
EnableImmutability : True
EnableDefragmentation : True
```
:::
::: example
### Example 3: Getting Object Storage Repository with Specific ID
This command returns the `e0edfac7-27eb-4fa3-a02d-892a7e8e48cb` object storage repository 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 : 1024 GB
UsedSpace : 29.5 MB
FreeSpace :
IsLongTerm : True
IsSecondary :
EnableImmutability : True
EnableDefragmentation : True
ArchiveStorageClass : GlacierDeepArchive
```
:::