Help Center
Choose product document...
Veeam Backup & Replication 9.5 [Archived]
PowerShell Reference

Start-VBRTapeInventory

Short Description

Starts tape inventory.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

-OR-

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

Detailed Description

This cmdlet starts inventory process.

You can run inventory job for selected libraries or for selected tapes.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Library

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

Accepts VBRTapeLibrary, GUID or string type.

True

Named

True (ByValue,
ByProperty
Name)

False

Medium

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

Accepts VBRTapeMedium, GUID or string type.

True

Named

True (ByValue,
ByProperty
Name)

False

Wait

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

Return Type

VBRBackupSession

Example 1

This example shows how to inventory a library.

Run Get-VBRTapeLibrary to get the library. Pipe it to Start-VBRTapeInventory.

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

Example 2

This example shows how to inventory selected tapes.

  1. Run Get-VBRTapeMedium to get the tapes and save them to the $tape variable.
  2. Run Start-VBRTapeInventory with the $tape variable.

PS C:\PS> $tape = Get-VBRTapeMedium -Name "00140009","00140010"

PS C:\PS> Start-VBRTapeInventory -Medium $tape

Related Commands

Get-VBRTapeLibrary

Get-VBRTapeMedium

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide