Get-VBRAzureBlobContainer

Short Description

Returns Azure Blob containers.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

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

Detailed Description

This cmdlet returns an array of Microsoft Azure Blob containers.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Connection

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

Accepts the following types:

  • VBRAzureBlobConnection
  • VBRAzureDataBoxConnection

True

Named

False

 

Name

Specifies an array of names of the Microsoft 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

Getting All Microsoft Azure Blob Containers

This example shows how to get all containers added to Microsoft Azure Blob storage. The cmdlet will return an array of containers added to the Global region type.

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

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

Get-VBRAzureBlobContainer -Connection $connect

Perform the following steps:

  1. Run the Get-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobService cmdlet. Specify the Account, RegionType and the ServiceType parameter values. Save the result to the $connect variable.
  3. Run the Get-VBRAzureBlobContainer cmdlet. Set the $connect variable as the Connection parameter value.

Related Commands

Get-VBRAzureBlobAccount

Connect-VBRAzureBlobService