--- title: "VBRTapeMedium" description: "Contains tape. “?” indicates that the property accepts zero values. Property Type Description string The tape barcode. int Specifies the size of the block used for writing data to tapes (in bytes). int64 The tape capacity (in bytes). int?" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/vbrtapemedium.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam PowerShell Types > VBRTapeMedium" dateModified: "2026-08-19" --- # VBRTapeMedium Contains tape. ## Properties "?" indicates that the property accepts zero values.
|
Property |
Type |
Description |
|---|---|---|
|
Barcode |
string |
The tape barcode. |
|
BlockSize |
int |
Specifies the size of the block used for writing data to tapes (in bytes). |
|
Capacity |
int64 |
The tape capacity (in bytes). |
|
CleaningCyclesLeft |
int? |
The number of cleaning cycles left for the cleaning tape. |
|
Description |
string |
The tape description. |
|
ExpirationDate |
DateTime? |
The tape expiration date. Tape expires when all backup sets written to it expires. |
|
Free |
int64 |
The tape free capacity (in bytes). |
|
HasBarcode |
bool |
Indicates if the tape has barcode. |
|
Id |
GUID |
The tape ID. |
|
IsExpired |
bool |
Indicates if the tape is expired and can be rewritten. |
|
IsFree |
bool |
Indicates if the tape is marked as free. |
|
IsFull |
bool |
Indicates if the tape is full. |
|
IsLocked |
bool |
Indicates if the tape is locked in drive, for example, by a tape job. |
|
IsRetired |
bool |
Indicates if the tape is retired: tapes are retired when they achieve maximum rewrite time or has mechanical breakdowns. |
|
LastWriteTime |
DateTime? |
The date and time of last write session. |
|
LibraryId |
GUID |
The ID of the tape library to which the tape belongs. |
|
Location |
VBRTapeMediumLocation |
The tape current location:
|
|
MediaPoolId |
GUID |
The ID of the media pool to which the tape belongs. |
|
MediaSet |
The media set to which the tape belongs. |
|
|
Name |
string |
The tape name. |
|
PreviousLibraryId |
GUID? |
The ID of the library to which the tape belonged previously. |
|
PreviousMediaPoolId |
GUID? |
The ID of the library to which the tape belonged previously. |
|
ProtectedByHardware |
bool |
Indicates if the tape is hardware protected. |
|
ProtectedBySoftware |
bool |
Indicates if the tape is software protected. |
|
ReadCyclesNumber |
int? |
The number of read cycles performed for the tape. |
|
SequenceNumber |
int? |
The sequence number of the tape in media set. |
|
WriteCyclesNumber |
int? |
The number of write cycles performed for the tape. |