This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRTapeServer

Short Description

Returns tape servers.

Applies to

Platform: VMware, Hyper-V

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

Syntax

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

-OR-

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

Detailed Description

This cmdlet returns tape servers connected to Veeam Backup & Replication.

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

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Server

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

False

Named

True (ByValue,
ByProperty
Name)

False

Name

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

False

Named

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRTapeServer[]

Example 1

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

Get-VBRTapeServer

Example 2

This command looks for all tape servers connected to the host named 'Host01'. The 'Host01' server is obtained with Get-VBRServer and piped down.

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

Example 3

This command looks for the tape server named 'Sydney_Tape_Server' on the server represented by the '$Host01' variable. The 'Host01' server is obtained with Get-VBRServer and assigned to the variable beforehand.

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

Related Commands

Get-VBRServer