Remove-VBOObjectStorageRepository

In this article

    Short Description

    Removes object storage repositories from the Veeam Backup for Microsoft Office 365 infrastructure.

    Syntax

    Remove-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-WhatIf] [-Confirm][<CommonParameters>]

    Detailed Description

    This cmdlet removes object storage repositories from the Veeam Backup for Microsoft Office 365 infrastructure.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    ObjectStorageRepository

    Specifies an object storage repository that you want to remove  from the Veeam Backup for Microsoft Office 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.

    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.

    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.

    Examples

    Removing Object Storage Repository

    This example shows how to remove the Azure object storage from the Veeam Backup for Microsoft Office 365 infrastructure.

    $repository = Get-VBOObjectStorageRepository -Name Azure

    Remove-VBOObjectStorageRepository -ObjectStorageRepository $repository

    Perform the following steps:

    1. Run the Get-VBOObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
    2. Run the Remove-VBOObjectStorageRepository cmdlet. Set the $repository variable as the ObjectStorageRepository parameter value.

    Related Commands

    Get-VBOObjectStorageRepository