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
To get this object, run the |
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. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOAzureBlobFolder object that contains an array of Microsoft Azure Blob folders.
Examples
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-VBOAzureBlobAccountReturns Microsoft Azure Blob Storage account credentials. cmdlet. Save the result to the$accountvariable. - Run the
New-VBOAzureBlobConnectionSettingsDefines connection settings to Microsoft Azure Blob Storage. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theRegionTypeparameter value. - Run the
Get-VBOAzureBlobContainerReturns Microsoft Azure Blob containers. cmdlet. Set the$connectionvariable as theConnectionSettingsparameter value. - Run the
Add-VBOAzureBlobFoldercmdlet. Set the$containervariable as theContainerparameter value. Specify theNameparameter value.
Related Commands
Get-VBOAzureBlobAccountReturns Microsoft Azure Blob Storage account credentials.New-VBOAzureBlobConnectionSettingsDefines connection settings to Microsoft Azure Blob Storage.Get-VBOAzureBlobContainerReturns Microsoft Azure Blob containers.