Remove-VBRTapeMediaPool
Short Description
Removes a media pool.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRTapeMediaPool -MediaPool <VBRTapeMediaPool[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a selected media pool from Veeam Backup & Replication.
Important! |
Removing media pools has the following restrictions:
|
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
MediaPool | Specifies the array of media pools. The cmdlet will remove these media pools. | Accepts the VBRTapeMediaPool object, GUID or string. To get this object, run the Get-VBRTapeMediaPool cmdlet. | True | Named | True (ByValue, |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if you want to continue running the command. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Removing Media Pool [Using Pipeline]
This example shows how to remove the media pool named Winserver MediaPool.
Perform the following steps:
|
Example 2. Removing Media Pool [Using Variable]
This example shows how to remove the media pool represented by the $pool variable.
Perform the following steps:
|
Related Commands