Remove-VBOObjectStorageRepository
Short Description
Removes an object storage repository from the Veeam Backup for Microsoft 365 infrastructure.
Note |
|
In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the |
Syntax
|
Remove-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes an object storage repository from the Veeam Backup for Microsoft 365 infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ObjectStorageRepository |
Specifies an object storage repository that you want to remove from the Veeam Backup for Microsoft 365 infrastructure.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Default: True |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. Default: False |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Removing Object Storage Repository
This example shows how to remove the Azure object storage repository from the Veeam Backup for Microsoft 365 infrastructure.
|
$repository = Get-VBOObjectStorageRepository -Name "Azure" Remove-VBOObjectStorageRepository -ObjectStorageRepository $repository |
Perform the following steps:
- Run the
Get-VBOObjectStorageRepositoryReturns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure. In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Get-VBORepository cmdlet instead. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Remove-VBOObjectStorageRepositorycmdlet. Set the$repositoryvariable as theObjectStorageRepositoryparameter value.
Related Commands
Get-VBOObjectStorageRepositoryReturns object storage repositories added to the Veeam Backup for Microsoft 365 infrastructure. In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the Get-VBORepository cmdlet instead.