Remove-VBRArchiveObjectStorageRepository
Short Description
Removes archive repositories added to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRArchiveObjectStorageRepository -Repository <VBRArchiveObjectStorageRepository[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes archive repositories added to the backup infrastructure. You can remove the following types of these backup repositories:
- Amazon S3 Glacier
- Azure Archive
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Repository | Specifies an archive repository that you want to remove. | Accepts the VBRArchiveObjectStorageRepository object. To create this object, run the Get-VBRArchiveObjectStorageRepository cmdlet. | True | Named | True (ByValue) |
WhatIf | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | 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 All Archive Repositories from Backup Infrastructure
This example shows how to remove all archive repositories from Veeam Backup & Replication.
$repository = Get-VBRArchiveObjectStorageRepository Remove-VBRArchiveObjectStorageRepository -Repository $repository |
Perform the following steps:
- Run the Get-VBRArchiveObjectStorageRepository cmdlet. Save the result to the $repository variable.
- Run the Remove-VBRArchiveObjectStorageRepository cmdlet with the $repository variable.
Related Commands