Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Get-VBRTapeMediaPool

Short Description

Returns media pools.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

-OR-

Get-VBRTapeLibrary [-Library <VBRTapeLibrary[]>] [-Id <guid[]>] [<CommonParameters>]

-OR-

Get-VBRTapeLibrary [-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

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Library

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

Accepts VBRTapeLibrary, GUID or string type.

False

Named

True (ByValue,
ByProperty
Name)

False

Id

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

Accepts GUID or string type.

False

Named

False

False

Name

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

False

Named

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRTapeMediaPool[]

Example 1

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

PS C:\PS> Get-VBRTapeMediaPool

Example 2

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

PS C:\PS> Get-VBRTapeMediaPool -Name "File Backup Media Pool","AppData GFS Media Pool"

Example 3

This command looks for all media pools in the 'HP MSL G3 Series 3.00' library.

The library is obtained with Get-VBRTapeLibrary and piped down.

PS C:\PS> Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Get-VBRTapeMediaPool

Example 4

This command looks for the media pools named 'AD Full Backup' and 'SharePoint Full Backups' in the 'HP MSL G3 Series 3.00' library.

The library is obtained with Get-VBRTapeLibrary and piped down.

PS C:\PS> Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Get-VBRTapeMediaPool -Name "AD Full Backup", "SharePoint Full Backups"

Related Commands

Get-VBRTapeLibrary

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation