Set-VBREncryptedTapeMediumPassword

Short Description

Decrypts encrypted backups stored on tapes.

Product Edition: Enterprise

Syntax

This cmdlet provides the following parameter sets:

  • PasswordDecryption (Default)

    Set-VBREncryptedTapeMediumPassword -Medium <VBRTapeMedium[]> -Password <String[]> [-PassThru] [<CommonParameters>]

  • KmsDecryption

    Set-VBREncryptedTapeMediumPassword -Medium <VBRTapeMedium[]> -DecryptionSet <VBRDecryptionSet[]> [-PassThru] [<CommonParameters>]

Detailed Description

This cmdlet decrypts selected encrypted backups stored on tapes.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DecryptionSet

Specifies the data decryption settings if the KMS Server was used for encryption.

Accepts the VBRDecryptionSet[] object. To get this object, run the New-VBRDecryptionSetDefines data decryption settings. cmdlet.

VBRDecryptionSet[]

True

Named

True (ByPropertyName)

Medium

Specifies the tape that contains the encrypted backup that you want to decrypt.

Accepts the VBRTapeMedium[] object. To get this object, run the Get-VBRTapeMediumReturns tapes. cmdlet.

VBRTapeMedium[]

True

Named

True (ByPropertyName, ByValue)

PassThru

Defines that the command returns the output object to the Windows PowerShell console.

SwitchParameter

False

Named

False

Password

Specifies the password. Veeam Backup & Replication will use that password to decrypt the backups.

String[]

True

Named

True (ByPropertyName)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBREncryptedTapeMediumPassword

Examples

Decrypting Encrypted Backups on Tapes

This example shows how to decrypt encrypted backups stored on tapes.

$tape = Get-VBRTapeMedium -Name "00110001"

Set-VBREncryptedTapeMediumPassword -Medium $tape -Password "SecurePassword"

Perform the following steps:

  1. Run the Get-VBRTapeMediumReturns tapes. cmdlet to get the tape. Specify the Name parameter value. Save the result to the $tape variable.
  2. Run the Set-VBREncryptedTapeMediumPassword cmdlet. Set the $tape variable as the Medium parameter value. Specify the Password parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18