Remove-VBRAzureAccount

In this article

    Short Description

    Removes Microsoft Azure accounts from Veeam Backup & Replication.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Remove-VBRAzureAccount -Account <VBRAzureAccount[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

    Detailed Description

    This cmdlet removes Microsoft Azure accounts added to Veeam Backup & Replication. When you remove an account, it is not deleted from your subscription. You stop managing it with Veeam Backup & Replication.

    Important

    This cmdlet does not support Microsoft Azure accounts with the Azure Service Manager type of a subscription (ASM, also known as a "classic" type subscription).

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Account

    Specifies the array of accounts you want to remove.

    False

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    WhatIf

    Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

    False

    Named

    False

    False

    Confirm

    Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Return Type

    None

    Example

    This example shows how to remove an account named "RestoreToAzure@Veeam.com".

    1. Run Get-VBRAzureAccount to get the account. Save it to the $account variable.
    2. Run Remove-VBRAzureAccount with the $account variable.

    $account = Get-VBRAzureAccount -Name RestoreToAzure@Veeam.com

    Remove-VBRAzureAccount -Account $account

    Related Commands

    Get-VBRAzureAccount