Reference for Win32_TapeDrive
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Disks and Storage

Description (Beschreibung):

The Win32_TapeDrive WMI class represents a tape drive on a Windows computer. Tape drives are primarily distinguished by the fact that they can be accessed only sequentially.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_TapeDriveYesYesYesYesYes

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AvailabilityYesYesYesYesYes
CapabilitiesYesYesYesYesYes
CapabilityDescriptionsYesYesYesYesYes
CaptionYesYesYesYesYes
CompressionYesYesYesYesYes
CompressionMethodYesYesYesYesYes
ConfigManagerErrorCodeYesYesYesYesYes
ConfigManagerUserConfigYesYesYesYesYes
CreationClassNameYesYesYesYesYes
DefaultBlockSizeYesYesYesYesYes
DescriptionYesYesYesYesYes
DeviceIDYesYesYesYesYes
ECCYesYesYesYesYes
EOTWarningZoneSizeYesYesYesYesYes
ErrorClearedYesYesYesYesYes
ErrorDescriptionYesYesYesYesYes
ErrorMethodologyYesYesYesYesYes
FeaturesHighYesYesYesYesYes
FeaturesLowYesYesYesYesYes
IdYesYesYesYesYes
InstallDateYesYesYesYesYes
LastErrorCodeYesYesYesYesYes
ManufacturerYesYesYesYesYes
MaxBlockSizeYesYesYesYesYes
MaxMediaSizeYesYesYesYesYes
MaxPartitionCountYesYesYesYesYes
MediaTypeYesYesYesYesYes
MinBlockSizeYesYesYesYesYes
NameYesYesYesYesYes
NeedsCleaningYesYesYesYesYes
NumberOfMediaSupportedYesYesYesYesYes
PaddingYesYesYesYesYes
PNPDeviceIDYesYesYesYesYes
PowerManagementCapabilitiesYesYesYesYesYes
PowerManagementSupportedYesYesYesYesYes
ReportSetMarksYesYesYesYesYes
StatusYesYesYesYesYes
StatusInfoYesYesYesYesYes
SystemCreationClassNameYesYesYesYesYes
SystemNameYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ResetYesYesYesYesYes
SetPowerStateYesYesYesYesYes

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TapeDrive")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation