Import-VBRTapeMedium

Short Description

Imports tapes into library.

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

Syntax

Import-VBRTapeMedium -Library <VBRTapeLibrary[]> [-Wait] [<CommonParameters>]

Detailed Description

This cmdlet imports tapes newly loaded to a tape library.

You need to run importing procedure against all new tapes. Importing moves tapes from I/E slot to library standard slots.

Note

Import and export commands are available only for the devices that support corresponding operations and include I/E slot.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Library

Specifies the library from which you want to import tapes.

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

VBRTapeLibrary[]

True

Named

True (ByPropertyName, ByValue)

Wait

Defines that the command waits for the import sessions to complete before accepting more input.

SwitchParameter

False

Named

False

<CommonParameters>

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

Output Object

VBRBackupSession[]

Examples

Import-VBRTapeMediumExample 1. Importing Tapes into Tape Library

This example shows how to import tapes to the HP MSL G3 Series 3.00 tape library.

Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Import-VBRTapeMedium

Perform the following steps:

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

Import-VBRTapeMediumExample 2. Importing Tapes into Tape Library [Using Variable]

This example shows how to import tapes to the HP MSL G3 Series 3.00 tape library.

$library = Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00"

Import-VBRTapeMedium -Library $library

Perform the following steps:

  1. Run the Get-VBRTapeLibraryReturns tape libraries. cmdlet. Specify the Name parameter value. Save the result to the $library variable.
  2. Run the Get-VBRTapeLibrary cmdlet. Set the $library variable as the Library parameter value.

Get-VBRTapeLibraryReturns tape libraries.

Page updated 2026-08-19

Page content applies to build 13.1.1.18