Set-VBRAzureAccount

In this article

    Short Description

    Edits Microsoft Azure accounts added to Veeam Backup & Replication.

    Applies to

    Platform: VMware, Hyper-V

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

    Syntax

    Set-VBRAzureAccount -Account <VBRAzureAccount> -AzureCredentials <CCredentials>  [<CommonParameters>]

    Detailed Description

    This cmdlet modifies an existing Microsoft Azure account added to the Veeam Backup & Replication managing console. The cmdlet opens a Microsoft Azure wizard. Follow the steps of the wizard to enter the new settings.

    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 Azure account that you wand to edit.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    AzureCredentials

    Specifies the credentials. Veeam Backup & Replication will use these credentials to connect to Microsoft Azure.

    True

    Named

    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

    VBRAzureAccount

    Example

    This example shows how to edit an existing Microsoft Azure account.

    1. Run Get-VBRAzureAccount to get the account. Save the result to the $account variable.
    2. Run Get-VBRCredentials to get the Azure credentials records. Save the result to the $credentials variable.
    3. Run Set-VBRAzureAccount with the $account and $credentials variables. When the Microsoft Azure wizard opens, type in new user name and/or password.

    $account = Get-VBRAzureAccount -Type ResourceManager -Name RestoreToAzureRM@Veeam.com

    $credentials = Get-VBRCredentials -Name "Azure Credentials"

    Set-VBRAzureAccount -Account $account -AzureCredentials $credentials

    Related Commands

    Get-VBRAzureAccount