Get-VBRTapeMediaPool

Short Description

Returns media pools.

Applies to

Platform: VMware, Hyper-V

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get media pools that use a specific library.

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

  • Get media pools by ID.

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

  • Get media pools by name.

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

Type

Required

Position

Accept
Pipeline
Input

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-VBRTapeLibrary cmdlet.

False

Named

True (ByValue,
ByProperty
Name)

Id

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

Accepts GUID or string.

False

Named

False

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

Get-VBRTapeMediaPoolExample 2. Getting Media Pools by Name

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

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

Related Commands

Get-VBRTapeLibrary

Page updated 3/15/2024

Page content applies to build 12.3.1.1139