Reference for Win32_PhysicalMedia
(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_PhysicalMedia class represents any type of documentation or storage medium, such as tapes, CD ROMs, etc. This class is typically used to locate and manage removable media (versus media sealed with the media access device, as a single package, as is the case with hard disks). However, 'sealed' media can also be modeled using this class, where the media would then be associated with the physical package using the CIM_PackagedComponent relationship.

Availability (Verfügbarkeit):

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

Sample Code (Beispiel):

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


Link zur Original-Microsoft-Dokumentation