Add-VBOAzureBlobAccount

In this article

    Short Description

    Creates Microsoft Azure Blob storage account credentials.

    Syntax

    Add-VBOAzureBlobAccount -Name <string> -SharedKey <securestring> [-Description <string>]  [<CommonParameters>]

    Detailed Description

    This cmdlet creates the VBOAzureBlobAccount object. This object contains storage account credentials for Microsoft Azure Blob storage. Veeam Backup for Microsoft Office 365 will use these storage account credentials to access Microsoft Azure Blob storage.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Name

    Specifies a login name. The cmdlet will use this login name to add the Microsoft Azure Blob storage account credentials.

    String

    True

    Named

    False

     

    SharedKey

    Specifies a shared key. The cmdlet will use this shared key to add the Microsoft Azure Blob storage account credentials.

    SecureString

    True

    Named

    False

     

    Description

    Specifies a description for the Microsoft Azure Blob storage account credentials.

    String

    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.

    Output Object

    The cmdlet returns the VBOAzureBlobAccount object that contains storage account credentials for Microsoft Azure Blob storage.

    Examples

    Add-VBOAzureBlobAccountExample 1. Adding Microsoft Azure Blob Credentials Record

    This example shows how to add the Microsoft Azure Blob storage account credentials to Veeam Backup for Microsoft Office 365.

    $securepassword = Read-Host "Enter your password" -AsSecureString

    Enter your password: **********

    Add-VBOAzureBlobAccount -Name "Login" -SharedKey $securepassword

    Perform the following steps:

    1. Run the Read-Host cmdlet. Specify the message that the console will display as a prompt. Specify the AsSecureString parameter. Save the result to the $securepassword variable.
    2. Enter the password.
    3. Run the Add-VBOAzureBlobAccount cmdlet. Specify the Name parameter value. Set $securepassword as the SharedKey parameter value.

    Add-VBOAzureBlobAccountExample 2. Adding Microsoft Azure Blob Credentials Record with Description

    This example shows how to add the Microsoft Azure Blob storage account credentials with a description.

    $securepassword = Read-Host "Enter your password" -AsSecureString

    Enter your password: **********

    Add-VBOAzureBlobAccount -SharedKey $securepassword  -Name "Login" -Description "Azure Credential Records"

    Perform the following steps:

    1. Run the Read-Host cmdlet. Specify the message that the console will display as a prompt. Specify the AsSecureString parameter. Save the result to the $securepassword variable.
    2. Enter the password.
    3. Run the Add-VBOAzureBlobAccount cmdlet. Specify the following settings:
    • Set $securepassword as the SharedKey parameter value.
    • Specify the Name parameter value.
    • Specify the Description parameter value.

    Related Commands

    Read-Host