Add-VBOAzureBlobFolder

In this article

    Short Description

    Creates Microsoft Azure Blob folders.

    Syntax

    Add-VBOAzureBlobFolder -Container <VBOAzureBlobContainer> -Name <string>  [<CommonParameters>]

    Detailed Description

    This cmdlet creates Microsoft Azure Blob folders. Veeam Backup for Microsoft Office 365 will use these folders to keep backup files there.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Container

    Specifies an Microsoft Azure Blob container. The cmdlet will create a folder in this container.

    Accepts the VBOAzureBlobContainer object. To get this object, run the Get-VBOAzureBlobContainer cmdlet.

    True

    Named

    False

     

    Name

    Specifies a name of the Microsoft Azure Blob container. The cmdlet will create a new Microsoft Azure Blob folder in this container.

    String

    True

    Named

    False

     

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Output Object

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

    Examples

    Creating Microsoft Azure Blob Folders

    This example shows how to create Microsoft Azure Blob folders.

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

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

    $container = Get-VBOAzureBlobContainer -ConnectionSettings $connection

    Add-VBOAzureBlobFolder -Container $container -Name "Images"

    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.
    3. Run the Get-VBOAzureBlobContainer cmdlet. Set the $connection variable as the ConnectionSettings parameter value.
    4. Run the Add-VBOAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Specify the Name parameter value.

    Related Commands