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

Import-VBRTapeMedium

In this article

    Short Description

    Imports tapes into library.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

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

    Related Commands

    Get-VBRTapeLibrary

    Return Type

    VBRBackupSession[]

    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.

    Import-VBRTapeMedium Note:

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

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Library

    Specifies the library from which you want to import tapes.

    Accepts VBRTapeLibrary object, GUID or string type.

    True

    Named

    True (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    False

    Wait

    Indicates that the command waits for the import session(s) to complete before accepting more input.

    False

    Named

    False

    False

    <CommonParameters>

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

    Example 1

    This command imports tapes to the 'HP MSL G3 Series 3.00' tape library.

    Run Get-VBRTapeLibrary to get the library and pipe it down.

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

    Example 2

    This command imports tapes to a selected tape library.

    Run Get-VBRTapeLibrary to get the library and save it to the $library variable.

    PS C:\PS> Import-VBRTapeMedium -Library $library