Remove-VBOObjectStorageRepository
Short Description
Removes 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 Remove-VBORepository cmdlet with the Force:$true parameter instead. |
Syntax
Remove-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-WhatIf] [-Confirm][<CommonParameters>] |
Detailed Description
This cmdlet removes object storage repository from the Veeam Backup for Microsoft 365 infrastructure.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
ObjectStorageRepository | Specifies object storage repository that you want to remove from the Veeam Backup for Microsoft 365 infrastructure. | Accepts the VBOObjectStorageRepository object. To get this object, run the Get-VBOObjectStorageRepository cmdlet. | True | Named | True (ByValue) |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. Default: False | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Default: True | SwitchParameter | False | 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
None.
Example
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-VBOObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
- Run the Remove-VBOObjectStorageRepository cmdlet. Set the $repository variable as the ObjectStorageRepository parameter value.
Related Commands