Set-VBRAzureBlobAccount
Short Description
Modifies Microsoft Azure Blob credentials records.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAzureBlobAccount -Account <VBRAzureBlobAccount> [-Name <String>] [-SharedKey <String>] [-Description <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies credentials records for Microsoft Azure Blob storage.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Account |
Specifies Microsoft Azure Blob credentials records that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
Description |
Specifies a description. The cmdlet will add this description to Microsoft Azure Blob credentials records. |
|
False |
Named |
False |
|
Name |
Specifies the Microsoft Azure Blob login name. The cmdlet will add this login name to Microsoft Azure Blob credentials records. |
|
False |
Named |
False |
|
SharedKey |
Specifies the shared key. The cmdlet will use this shared key to add Microsoft Azure Blob credentials records. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRAzureBlobAccount object that contains Microsoft Azure Blob credentials records.
Examples
Modifying Microsoft Azure Blob Credentials Record
This example shows how to modify the credentials record for Microsoft Azure Blob storage.
|
$securepassword = Read-Host "Enter your password" -AsSecureString Enter your password: ********** $account = Get-VBRAzureBlobAccount -Name "Microsoft Azure Blob" Set-VBRAzureBlobAccount -Account $account -SharedKey $securepassword |
Perform the following steps:
- Create a new secure password.
- Run the
Read-Hostcmdlet. Specify the message that the console will display as a prompt. Specify theAsSecureStringparameter. Save the result to the$securepasswordvariable. - Enter the password.
- Run the
- Run the
Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records. cmdlet. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Set-VBRAzureBlobAccountcmdlet. Set the$accountvariable as theAccountparameter value. Set the$securepasswordvariable as theSharedKeyparameter value.
Related Commands
Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records.