Get-VBOAzureBlobContainer

Short Description

Returns Microsoft Azure Blob containers.

Syntax

Get-VBOAzureBlobContainer -ConnectionSettings <VBOAzureBlobConnectionSettings> [-Name <string>][<CommonParameters>]

Detailed Description

This cmdlet returns an array of Microsoft Azure Blob containers.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

ConnectionSettings

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 VBOAzureBlobConnectionSettings object.

True

Named

False

 

Name

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

String

False

Named

False

 

<CommonParameters>

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

Output Object

The cmdlet returns the VBOAzureBlobContainer object that returns an array of Microsoft Azure Blob containers.

Examples

Get-VBOAzureBlobContainerExample 1. Getting all Microsoft Azure Blob Containers

This example shows how to get all containers added to Microsoft Azure Blob.

$account = Get-VBOAzureBlobAccount -Id "133dae61-cfce-4fe0-8f8d-cbe52bd5612a"

$connection = New-VBOAzureBlobConnectionSettings -Account $account -RegionType Global

Get-VBOAzureBlobContainer -ConnectionSettings $connection

Perform the following steps:

  1. Run the Get-VBOAzureBlobAccount cmdlet. Save the result to the $account variable.
  2. Run the New-VBOAzureBlobConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
  3. Run the Get-VBOAzureBlobContainer cmdlet. Set the $connection variable as the ConnectionSettings parameter value.

Get-VBOAzureBlobContainerExample 2. Getting a Specific Microsoft Azure Blob Container

This example shows how to get the Container 05 container added to Microsoft Azure Blob.

$account = Get-VBOAzureBlobAccount -Id "133dae61-cfce-4fe0-8f8d-cbe52bd5612a"

$connection = New-VBOAzureBlobConnectionSettings -Account $account -RegionType Global

Get-VBOAzureBlobContainer -ConnectionSettings $connection -Name "Container 05"

Perform the following steps:

  1. Run the Get-VBOAzureBlobAccount cmdlet. Save the result to the $account variable.
  2. Run the New-VBOAzureBlobConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
  3. Run the Get-VBOAzureBlobContainer cmdlet. Set the $connection variable as the ConnectionSettings parameter value. Specify the Name parameter value.

Related Commands

I want to report a typo

There is a misspelling right here:

 

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