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

Get-VBRAzureBlobContainer

Short Description

Returns Azure Blob containers.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Get-VBRAzureBlobContainer -Connection <VBRAzureBlobConnection> [-Name <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of Azure Blob containers.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Connection

Specifies an active session with Azure Blob storage. The cmdlet will return an array of the containers added to this object storage.

Accepts the <VBRAzureBlobConnection> type.

True

Named

False

 

Name

Specifies a name of the Azure Blob container that you want to get.

False

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 get all containers added to Azure Blob storage. The cmdlet will return an array of containers added to the Global region type.

  1. Run Get-VBRAzureBlobAccount to get an Azure Blob credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAzureBlobService with the $account variable to connect to Azure Blob storage. Use the RegionType parameter to specify the type of the region. Save the result to the $connect variable.
  3. Run Get-VBRAzureBlobContainer with the $connect variable.

$account = Get-VBRAzureBlobAccount -Name "Azure Blob"

$connect = Connect-VBRAzureBlobService -Account $account -RegionType Global

Get-VBRAzureBlobContainer -Connection $connect

Related Commands

Get-VBRAzureBlobAccount

Connect-VBRAzureBlobService

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.