Set-VBRAzureAccount
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 | Accept |
---|---|---|---|---|---|
Account | Specifies the Azure account that you wand to edit. | True | Named | True (ByValue, | 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 on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to edit an existing Microsoft Azure account.
- Run Get-VBRAzureAccount to get the account. Save the result to the $account variable.
- Run Get-VBRCredentials to get the Azure credentials records. Save the result to the $credentials variable.
- 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