--- title: "Set-VBREncryptedTapeMediumPassword" description: "This cmdlet decrypts selected encrypted backups stored on tapes." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrencryptedtapemediumpassword.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Tape Devices > Tape Decryption > Set-VBREncryptedTapeMediumPassword" dateModified: "2026-08-19" --- # Set-VBREncryptedTapeMediumPassword ## Short Description Decrypts encrypted backups stored on tapes. **Product Edition**: Enterprise ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet decrypts selected encrypted backups stored on tapes. ## 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-VBRDecryptionSet 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-VBRTapeMedium 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)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object `VBREncryptedTapeMediumPassword` ## Examples ::: example ### 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-VBRTapeMedium`](get-vbrtapemedium.md) 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. ::: ## Related Commands - [`Get-VBRTapeMedium`](get-vbrtapemedium.md) - [`New-VBRDecryptionSet`](new-vbrdecryptionset.md)