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 cmdlet instead. |
Syntax
This cmdlet provides parameter sets that allow you to:
- Get object storage repository by object storage repository name.
Get-VBOObjectStorageRepository [-Name <String>] [-LongTerm] [<CommonParameters>] |
- Get object storage repository by object storage repository ID.
Get-VBOObjectStorageRepository -Id <Guid> [<CommonParameters>] |
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 |
---|---|---|---|---|---|
Name | Specifies object storage repository name. The cmdlet will return object storage repository with this name. | String | False | Named | False |
LongTerm | Defines that the cmdlet will return settings for the following object storage repositories:
Default: True | SwitchParameter | False | Named | False |
Id | Specifies object storage repository ID. The cmdlet will return object storage repository with this ID. | Guid | True | Named | 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 repositories added to Veeam Backup for Microsoft 365.
Examples
Example 1. Getting All Object Storage Repositories
This command returns all object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure.
|
Example 2. Getting Object Storage Repository with Specific Name
This command returns object storage repository with a name ending with Archive.
|
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.
|