Short Description
Creates encryption key.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Add-VBREncryptionKey [-Password] <securestring> [[-Description] <string>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new encryption key.
This cmdlet accepts SecureString type. Use Microsoft PowerShell standard capabilities to create your password as SecureString.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Password | Specifies password you want to use to encrypt data. Accepts SecureString type. | True | 0 | True (ByValue, | False |
Description | Specifies description of the new encryption key that you can further use to search encryption keys. | False | 1 | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This command creates an encryption key.
You will need to perform the following steps:
- Create a secure password. Save the result to the $securepassword variable.
- Run Add-VBREncryptionKey with the $securepassword variable.
PS C:\PS> $securepassword = Read-Host -Prompt "Enter password" -AsSecureString PS C:\PS> Add-VBREncryptionKey -Password $securepassword -Description "Veeam Administrator" |