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 object 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 object 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example 1

This example shows how to get all folders from Azure Blob object 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 object 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.

PS C:\PS> $account = Get-VBRAzureBlobAccount -Name "Azure Blob"

PS C:\PS> $connect = Connect-VBRAzureBlobService -Account $account -RegionType Global

PS C:\PS> $container = Get-VBRAzureBlobContainer -Connection $connect

PS C:\PS> 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 object 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.

PS C:\PS> $account = Get-VBRAzureBlobAccount -Name "Azure Blob"

PS C:\PS> $connect = Connect-VBRAzureBlobService -Account $account -RegionType Global

PS C:\PS> $container = Get-VBRAzureBlobContainer -Connection $connect -Name "Container"

PS C:\PS> Get-VBRAzureBlobFolder -Container $Container -Connection  $connect

Example 3

This example shows how to get a specific folder from Azure Blob object 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 object 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.

PS C:\PS> $account = Get-VBRAzureBlobAccount -Name "Azure Blob"

PS C:\PS> $connect = Connect-VBRAzureBlobService -Account $account -RegionType Global

PS C:\PS> $container = Get-VBRAzureBlobContainer -Connection $connect

PS C:\PS> 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

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation