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

Export-VBRTapeMedium

In this article

    Short Description

    Moves tape to Import/Export slot.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Export-VBRTapeMedium -Medium <VBRTapeMedium[]> [-Wait]  [<CommonParameters>]

    Related Commands

    Get-VBRTapeMedium

    Return Type

    VBRBackupSession

    Detailed Description

    This cmdlet exports selected tapes to the Import/Export slot. You need to to run the exporting procedure if you want to take the tapes out of the tape library.

    Export-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

    Medium

    Specifies the tapes which you want to export.

    Accepts VBRTapeMedium object, GUID or string type.

    You can assign multiple tapes to this object.

    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

    This command exports tape named "00170008".

    1. Run Get-VBRTapeMedium to get the tape and save it to the $tape variable.
    2. Run Export-VBRTapeMedium with this variable.

    PS C:\PS> $tape = Get-VBRTapeMedium -Name "00170008"

    PS C:\PS> Export-VBRTapeMedium -Medium $tape