Get-VBRTapeMediaPool

Short Description

Returns media pools.

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

Syntax

This cmdlet provides the following parameter sets:

  • AllParameterSets (Default)

    Get-VBRTapeMediaPool [-Library <VBRTapeLibrary>] [<CommonParameters>]

  • Id

    Get-VBRTapeMediaPool [-Library <VBRTapeLibrary>] [-Id <Guid[]>] [<CommonParameters>]

  • Name

    Get-VBRTapeMediaPool [-Library <VBRTapeLibrary>] [-Name <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns media pools managed by Veeam Backup & Replication.

The cmdlet returns simple, GFS and service media pools. You can get the list of media pools that use a specific library, or search for instances directly by name or ID.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Id

Specifies the array of media pool IDs. The cmdlet will return media pools with these IDs.

Accepts Guid[] or String[].

Guid[]

False

Named

False

Library

Specifies the array of tape libraries. The cmdlet will return media pools that belong to these tape libraries.

Accepts the VBRTapeLibrary object, GUID or string. To get this object, run the Get-VBRTapeLibraryReturns tape libraries. cmdlet.

VBRTapeLibrary

False

Named

True (ByPropertyName, ByValue)

Name

Specifies the array of media pool names. The cmdlet will return media pools with these names.

String[]

False

Named

False

<CommonParameters>

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

Output Object

VBRTapeMediaPoolBase[]

Examples

Get-VBRTapeMediaPoolExample 1. Getting List of All Media Pools

This command looks for the list of all media pools in Veeam Backup & Replication.

Get-VBRTapeMediaPool

Get-VBRTapeMediaPoolExample 2. Getting Media Pools by Name

This command looks for the media pools named File Backup Media Pool and AppData GFS Media Pool.

Get-VBRTapeMediaPool -Name "File Backup Media Pool", "AppData GFS Media Pool"

Get-VBRTapeMediaPoolExample 3. Getting Media Pools in Library [Using Pipeline]

This example shows how to look for all media pools in the HP MSL G3 Series 3.00 library.

Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Get-VBRTapeMediaPool

Perform the following steps:

  1. Run the Get-VBRTapeLibraryReturns tape libraries. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Get-VBRTapeMediaPool cmdlet.

Get-VBRTapeMediaPoolExample 4. Getting Media Pools in Library by Name [Using Pipeline]

This example shows how to look for the media pools named AD Full Backup and SharePoint Full Backups in the HP MSL G3 Series 3.00 library.

Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Get-VBRTapeMediaPool -Name "AD Full Backup", "SharePoint Full Backups"

Perform the following steps:

  1. Run the Get-VBRTapeLibraryReturns tape libraries. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Get-VBRTapeMediaPool cmdlet. Specify the Name parameter value.

Get-VBRTapeLibraryReturns tape libraries.

Page updated 2026-08-19

Page content applies to build 13.1.1.18