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
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
MediaPool |
Specifies the media pool that you want to modify.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
Options |
Specifies the media pool options. The cmdlet will modify these options.
Accepts the |
|
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:
- Run the
Get-VBRTapeMediaPoolReturns media pools. cmdlet. Specify theNameparameter value. Save the result to the$mediapoolvariable. - 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$mediapoolvariable as theMediaPoolparameter value. Save the result to the$optionsvariable. - Set the
MediaSetNameproperty of the$optionsvariable toWeekly Media Set. - Run the
Set-VBRTapeMediaPoolOptionscmdlet. Specify the following settings:- Set the
$mediapoolvariable as theMediaPoolparameter value. - Set the
$optionsvariable as theOptionsparameter value.
- Set the
Related Commands
Get-VBRTapeMediaPoolReturns media pools.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.