This is an archive version of the document. To get the most up-to-date information, see the current version.

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

Syntax

This cmdlet provides 2 parameter sets.

  • For looking for accounts by name and model:

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

  • For looking for accounts by ID:

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

Detailed Description

This cmdlet returns Microsoft Azure accounts added to Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

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

False

Named

False

True

Type

Specifies the account model:

  • ResourceManager
  • Classic.

False

Named

False

False

Id

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

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

VBRAzureAccount

Example 1

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

Get-VBRAzureAccount

Example 2

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

Get-VBRAzureAccount -Type ResourceManager

Example 3

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

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