Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Get-VBRAzureBlobFolder

Short Description

Returns Azure Blob folders.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

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

Detailed Description

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

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Container

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

Accepts the VBRAzureBlobContainer[] type.

True

Named

True (ByValue)

 

Connection

Specifies an active session with Azure Blob storage.

Accepts the VBRAzureBlobConnection type.

True

Named

False

 

Name

Specifies a name of the Azure Blob folder 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 1

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

  1. Run Get-VBRAzureBlobAccount to get the 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 to get the Azure Blob container. Save the result to the $container variable.
  4. Run Get-VBRAzureBlobFolder with the $container and $connect variables.

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

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

$container = Get-VBRAzureBlobContainer -Connection $connect

Get-VBRAzureBlobFolder -Container $Container -Connection $connect

Example 2

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

  1. Run Get-VBRAzureBlobAccount to get the Azure Blob credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAzureBlobService to connect to Azure Blob storage. Save the result to the $connect variable.
  3. Run Get-VBRAzureBlobContainer with the $connect variable. Use the Name parameter to specify the name of the Azure Blob container. Save the result to the $container variable.
  4. Run Get-VBRAzureBlobFolder with the $container and $connect variables.

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

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

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

Get-VBRAzureBlobFolder -Container $Container -Connection  $connect

Example 3

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

  1. Run Get-VBRAzureBlobAccount to get the Azure Blob credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAzureBlobService to connect to Azure Blob storage. Save the result to the $connect variable.
  3. Run Get-VBRAzureBlobContainer with the $connect variable. Use the Name parameter to specify the name of the Azure Blob container. Save the result to the $container variable.
  4. Run Get-VBRAzureBlobFolder with the $container and $connect variables. Use the Name parameter to specify the name of the Azure Blob folder that you want to get.

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

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

$container = Get-VBRAzureBlobContainer -Connection $connect

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

Related Commands

Get-VBRAzureBlobAccount

Connect-VBRAzureBlobService

Get-VBRAzureBlobContainer

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation