Start-VBRTapeInventory

Short Description

Starts tape inventory.

Applies to

Platform: VMware, Hyper-V

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Start a tape inventory job for selected libraries.

Start-VBRTapeInventory -Library <VBRTapeLibrary[]> [-Wait]  [<CommonParameters>]

  • Start a tape inventory job for selected tapes.

Start-VBRTapeInventory -Medium <VBRTapeMedium[]> [-Wait]  [<CommonParameters>]

Detailed Description

This cmdlet starts tape inventory process.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Library

Specifies the array of tape libraries. The cmdlet will inventory these tape libraries.

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

True

Named

True (ByValue,
ByProperty
Name)

Medium

Specifies the array of tapes. The cmdlet will inventory these tapes.

Accepts the VBRTapeMedium[] object, GUID or string. To get this object, run the Get-VBRTapeMedium cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

Wait

Defines that the command waits for the process 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

Start-VBRTapeInventoryExample 1. Inventorying Selected Library [Using Pipeline]

This example shows how to inventory a library.

Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Start-VBRTapeInventory

Perform the following steps:

  1. Run the Get-VBRTapeLibrary cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Start-VBRTapeInventory cmdlet.

Start-VBRTapeInventoryExample 2. Inventorying Selected Tapes [Using Variable]

This example shows how to inventory selected tapes.

$tape = Get-VBRTapeMedium -Name "00140009","00140010"

Start-VBRTapeInventory -Medium $tape

Perform the following steps:

  1. Run the Get-VBRTapeMedium cmdlet. Specify the Name parameter value. Save the result to the $tape variable.
  2. Run the Start-VBRTapeInventory cmdlet. Set the $tape variable as the Medium parameter value.

Related Commands

Page updated 4/10/2024

Page content applies to build 12.3.0.310