--- title: "Set-VBRTapeMedium" description: "Modifies tape properties. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet modifies properties of a selected tape. You can modify name and/or description of the tape, or mark it as free." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrtapemedium.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Tape Devices > Managing Tapes > Set-VBRTapeMedium" dateModified: "2026-08-19" --- # Set-VBRTapeMedium ## Short Description Modifies tape properties. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBRTapeMedium -Medium [-Name ] [-Description ] [-MarkAsFree] [-PassThru] [] ``` ## Detailed Description This cmdlet modifies properties of a selected tape. You can modify name and/or description of the tape, or mark it as free. ::: 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

Description

Specifies the new description you want to assign to the tape.

String

False

Named

False

MarkAsFree

If you provide this parameter, the cmdlet will mark the tape as free.

Veeam Backup & Replication will delete from backup and tape catalogs information about backup contents stored on tape.

SwitchParameter

False

Named

False

Medium

Specifies tape you want to modify.

Accepts the VBRTapeMedium object, GUID or string. To get this object, run the Get-VBRTapeMedium cmdlet.

VBRTapeMedium

True

Named

True (ByPropertyName, ByValue)

Name

Specifies the new name you want to assign to the tape.

String

False

Named

False

PassThru

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

SwitchParameter

False

Named

False

`` 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 [`VBRTapeMedium`](vbrtapemedium.md) ## Examples ::: example ### Example 1. Updating Tape Name and Description [Using Pipeline] This example shows how to rename the `0014001F` tape into `SQL 9/2022` and sets a description for it. ``` Get-VBRTapeMedium -Name "0014001F" | Set-VBRTapeMedium -Name "SQL 9/2022" -Description "SQL DB monthly full backups: Sept/2022" ``` Perform the following steps: 1. Run the `Get-VBRTapeMedium` cmdlet. Specify the `Name` parameter value. 2. Pipe the cmdlet output to the `Set-VBRTapeMedium` cmdlet. Specify the `Name` parameter value. Specify the `Description` parameter value. ::: ::: example ### Example 2. Marking Tape as Free [Using Pipeline] This example shows how to mark the `0014001F` tape as free. ``` Get-VBRTapeMedium -Name "0014001F" | Set-VBRTapeMedium -MarkAsFree ``` Perform the following steps: 1. Run the `Get-VBRTapeMedium` cmdlet. Specify the `Name` parameter value. 2. Pipe the cmdlet output to the `Set-VBRTapeMedium` cmdlet. Provide the `MarkAsFree` parameter. ::: ## Related Commands [`Get-VBRTapeMedium`](get-vbrtapemedium.md)