Get-VBRAzureBlobFolder

Short Description

Returns Microsoft Azure Blob folders.

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRAzureBlobFolder -Container <VBRAzureBlobContainer[]> -Connection <IVBRAzureBlobConnection>

[-Name <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns an array of Microsoft Azure Blob folders. You can get the array of all folders from your Microsoft Azure Blob storage or the array of the folders from the particular container.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Connection

Specifies an active session with Microsoft Azure Blob storage.

Accepts the following objects:

  • VBRAzureBlobConnection
  • VBRAzureDataBoxConnection

To get these objects, run the Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage. cmdlet.

IVBRAzureBlobConnection

True

Named

False

Container

Specifies an array of Microsoft Azure Blob containers. The cmdlet will return the folders from these containers.

Accepts the VBRBlobContainer[] object. To get this object, run the Get-VBRAzureBlobContainerReturns Azure Blob containers. cmdlet.

VBRAzureBlobContainer[]

True

Named

True (ByValue)

Name

Specifies an array of names for Microsoft Azure Blob folders 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 VBRAzureBlobFolder object that contains Microsoft Azure Blob folders.

Examples

Get-VBRAzureBlobFolderExample 1. Getting All Folders from Microsoft Azure Blob Storage

This example shows how to get all folders from Microsoft Azure Blob storage.

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

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

$container = Get-VBRAzureBlobContainer -Connection $connect

Get-VBRAzureBlobFolder -Container $Container -Connection $connect

Perform the following steps:

  1. Run the Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage. cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType and the ServiceType parameter values. Save the result to the $connect variable.
  3. Run the Get-VBRAzureBlobContainerReturns Azure Blob containers. cmdlet. Set the $connect variable as the Connection parameter value. Save the result to the $container variable.
  4. Run the Get-VBRAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Set the $connect variable as the Connection parameter value.

Get-VBRAzureBlobFolderExample 2. Getting All Folders from Specific Microsoft Azure Blob Container

This example shows how to get all folders from a specific Microsoft Azure Blob container.

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

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

$container = Get-VBRAzureBlobContainer -Connection $connect -Name "Container"

Get-VBRAzureBlobFolder -Container $Container -Connection $connect

Perform the following steps:

  1. Run the Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage. cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType and the ServiceType parameter values. Save the result to the $connect variable.
  3. Run the Get-VBRAzureBlobContainerReturns Azure Blob containers. cmdlet. Set the $connect variable as the Connection parameter value. Specify the Name parameter value. Save the result to the $container variable.
  4. Run the Get-VBRAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Set the $connect variable as the Connection parameter value.

Get-VBRAzureBlobFolderExample 3. Getting Specific Folder from Microsoft Azure Blob Storage

This example shows how to get a specific folder from Microsoft Azure Blob storage.

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

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

$container = Get-VBRAzureBlobContainer -Connection $connect

Get-VBRAzureBlobFolder -Container $container -Connection $connect -Name "New Folder"

Perform the following steps:

  1. Run the Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage. cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType and the ServiceType parameter values. Save the result to the $connect variable.
  3. Run the Get-VBRAzureBlobContainerReturns Azure Blob containers. cmdlet. Set the $connect variable as the Connection parameter value. Save the result to the $container variable.
  4. Run the Get-VBRAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Set the $connect variable as the Connection parameter value. Specify the Name parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18