Get-VBRAzureAccount

Short Description

Returns Microsoft Azure accounts added to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get Microsoft Azure accounts by name and model.

Get-VBRAzureAccount [-Name <string[]>] [-Type <VBRAzureModelType> {ResourceManager | Classic}]  [<CommonParameters>]

  • Get Microsoft Azure accounts by ID.

Get-VBRAzureAccount [-Id <guid[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns Microsoft Azure accounts added to 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

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies the array of names of the accounts. The cmdlet will return the accounts that match these names.

String[]

False

Named

False

Type

Specifies the account model:

  • ResourceManager
  • Classic

VBRAzureModelType

False

Named

False

Id

Specifies the array of IDs of the accounts. The cmdlet will return the accounts that match these IDs.

Guid[]

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRAzureAccount

Examples

Get-VBRAzureAccountExample 1. Getting All Microsoft Azure Accounts

This command returns all accounts added to Veeam Backup & Replication.

Get-VBRAzureAccount

Get-VBRAzureAccountExample 2. Getting All Resource Manager Accounts

This command returns all Resource Manager accounts added to Veeam Backup & Replication.

Get-VBRAzureAccount -Type ResourceManager

Get-VBRAzureAccountExample 3. Getting Classic Account by Name

This command returns a Classic account named RestoreToAzure@Veeam.com added to Veeam Backup & Replication.

Get-VBRAzureAccount -Type Classic -Name RestoreToAzure@Veeam.com

Page updated 1/29/2024

Page content applies to build 12.2.0.334