Add-VBOAzureBlobFolder
Short Description
Creates Microsoft Azure Blob folders.
Syntax
Add-VBOAzureBlobFolder -Container <VBOAzureBlobContainer> -Name <String> [<CommonParameters>] |
Detailed Description
This cmdlet creates Microsoft Azure Blob folders.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Container | Specifies the 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 folder. The cmdlet will create the Microsoft Azure Blob folder with this name. | 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 VBOAzureBlobFolder object that contains an array of Microsoft Azure Blob folders.
Example
Creating Microsoft Azure Blob Folder
This example shows how to create a Microsoft Azure Blob folder.
$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:
- Run the Get-VBOAzureBlobAccount cmdlet. Save the result to the $account variable.
- Run the New-VBOAzureBlobConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value.
- Run the Get-VBOAzureBlobContainer cmdlet. Set the $connection variable as the ConnectionSettings parameter value.
- Run the Add-VBOAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Specify the Name parameter value.
Related Commands