Get-VBRTapeServer

Short Description

Returns tape servers.

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

Syntax

This cmdlet provides the following parameter sets:

  • AllParameterSets (Default)

    Get-VBRTapeServer [-Server <CHost[]>] [<CommonParameters>]

  • Name

    Get-VBRTapeServer [-Name <String[]>] [-Server <CHost[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns tape servers connected to the backup infrastructure.

You can get the list of all tape servers or narrow down the output to the servers of specific type, or search for instances directly by name.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the array of tape server names. The cmdlet will return tape servers with these names.

String[]

False

Named

False

Server

Specifies the array of hosts. The cmdlet will return tape servers created on these hosts.

Accepts the CHost[] object. To get this object, run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet.

CHost[]

False

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Output Object

VBRTapeServer[]

Examples

Get-VBRTapeServerExample 1. Getting List of Tape Servers

This command looks for all tape servers connected to Veeam Backup & Replication.

Get-VBRTapeServer

Get-VBRTapeServerExample 2. Getting List of Tape Servers Connected to Host [Using Pipeline]

This example shows how to get all tape servers connected to the host named Host01.

Get-VBRServer -Name "Host01" | Get-VBRTapeServer

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Get-VBRTapeServer cmdlet.

Get-VBRTapeServerExample 3. Getting Tape Server by Name [Using Variable]

This example shows how to get the tape server named Sydney_Tape_Server on the Host01 host.

$host01 = Get-VBRServer -Name "Host01"

Get-VBRTapeServer -Name "Sydney_Tape_Server" -Server $host01

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value. Save the result to the $host01 variable.
  2. Run the Get-VBRTapeServer cmdlet. Specify the Name parameter value. Set the $host01 variable as the Server parameter value.

Get-VBRServerReturns hosts connected to the backup infrastructure.

Page updated 2026-08-19

Page content applies to build 13.1.1.18