Set-VBRTapeMediaPoolOptions (obsolete)

Short Description

Modifies media pool options.

Note

This cmdlet is obsolete. The cmdlet will still work but it is recommended to perform the tape restore operation with Veeam Backup & Replication UI for full functionality.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRTapeMediaPoolOptions [-MediaPool] <CTapeMediaPool> [-Options] <PSMediaPoolOptions> [<CommonParameters>]

Detailed Description

Modifies media pool options.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

MediaPool

Specifies the media pool that you want to modify.

Accepts the CTapeMediaPool object. To create this object, run the Get-VBRTapeMediaPoolReturns media pools. cmdlet.

CTapeMediaPool

True

0

True (ByPropertyName, ByValue)

Options

Specifies the media pool options. The cmdlet will modify these options.

Accepts the PSMediaPoolOptions object. To get this object, run the Get-VBRTapeMediaPoolOptionsReturns settings of a selected media pool. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. cmdlet.

PSMediaPoolOptions

True

1

False

<CommonParameters>

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

Examples

Example 1. Modifying Media Pool Options

This example shows how to modify options of the Weekly media pool. The new media set name is set to Weekly Media Set.

$mediapool = Get-VBRTapeMediaPool -Name "Weekly"

$options = Get-VBRTapeMediaPoolOptions -MediaPool $mediapool

$options.MediaSetName = "Weekly Media Set"

Set-VBRTapeMediaPoolOptions -MediaPool $mediapool -Options $options

Perform the following steps:

  1. Run the Get-VBRTapeMediaPoolReturns media pools. cmdlet. Specify the Name parameter value. Save the result to the $mediapool variable.
  2. Run the Get-VBRTapeMediaPoolOptionsReturns settings of a selected media pool. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. cmdlet. Set the $mediapool variable as the MediaPool parameter value. Save the result to the $options variable.
  3. Set the MediaSetName property of the $options variable to Weekly Media Set.
  4. Run the Set-VBRTapeMediaPoolOptions cmdlet. Specify the following settings:
    • Set the $mediapool variable as the MediaPool parameter value.
    • Set the $options variable as the Options parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18