Reference for Win32_PhysicalMedia
|
|
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 Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_PhysicalMedia | Yes | Yes | - | - | - |
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
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|