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 | Accept |
Library | Specifies the array of tape libraries. The cmdlet will inventory these tape libraries. Accepts VBRTapeLibrary, GUID or string type. | True | Named | True (ByValue, | False |
Medium | Specifies the array of tapes. The cmdlet will inventory these tapes. Accepts VBRTapeMedium, GUID or string type. | True | Named | True (ByValue, | 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 on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This example shows how to inventory a library.
Run Get-VBRTapeLibrary to get the library. Pipe it to Start-VBRTapeInventory.
Example 2
This example shows how to inventory selected tapes.
- Run Get-VBRTapeMedium to get the tapes and save them to the $tape variable.
- Run Start-VBRTapeInventory with the $tape variable.
Related Commands