- WMI Library -
WMI Libraly > Win32_PhysicalMedia Class

Win32_PhysicalMedia Class

The Win32_PhysicaMedia class represents any type of documentation or storage medium, such as tapes, CD ROMs, etc.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32a.


Properties

  • Capacity
  • The number of bytes that can be read from or written to a Media. This property is not applicable to "Hard Copy" (documentation) or cleaner Media. Data compression should not be assumed, as it would increase the value in this property. For tapes, it should be assumed that no filemarks or blank space areas are recorded on the Media.

  • Caption
  • The Caption property is a short textual description (one-line string) of the object.

  • CleanerMedia
  • Boolean indicating that the physical media is used for cleaning purposes and not data storage.

  • CreationClassName
  • CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.

  • Description
  • The Description property provides a textual description of the object.

  • HotSwappable
  • A physical component can be hot swapped if it is possible to replace the element with a physically different but equivalent one while the containing package has power applied to it (i.e., is 'on'). For example, a fan component may be designed to be hot swapped. All components that can be hot swapped are inherently removable and replaceable .

  • InstallDate
  • The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.

  • Manufacturer
  • The name of the organization responsible for producing the physical element. This may be the entity from whom the element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.

  • MediaDescription
  • Additional detail related to the MediaType enumeration. For example, if value 3 ("QIC Cartridge") is specified, this property could indicate whether the tape is wide or 1/4 inch, whether it is pre-formatted, whether it is Travan compatible, etc.

  • MediaType
  • Specifies the type of the physical media, as an enumerated integer. The MediaDescription property is used to provide more explicit definition of the media type, whether it is pre-formatted, compatibility features, etc.

  • Model
  • The name by which the physical element is generally known.

  • Name
  • The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.

  • OtherIdentifyingInfo
  • OtherIdentifyingInfo captures additional data, beyond asset tag information, that could be used to identify a physical element. One example is bar code data associated with an element that also has an asset tag. Note that if only bar code data is available and is unique/able to be used as an element key, this property would be NULL and the bar code data used as the class key, in the tag property.

  • PartNumber
  • The part number assigned by the organization responsible for producing or manufacturing the physical element.

  • PoweredOn
  • Boolean indicating that the physical element is powered on (TRUE), or is currently off (FALSE).

  • Removable
  • A physical component is removable if it is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A component can still be removable if power must be 'off' in order to perform the removal. If power can be 'on' and the component removed, then the element is removable and can be hot swapped. For example, an upgradeable processor chip is removable.

  • Replaceable
  • A physical component is replaceable if it is possible to replace (FRU or upgrade) the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable . All removable components are inherently replaceable .

  • SerialNumber
  • The Serial number property is a manufacturer-allocated number used to identify the physicalmedia.
    Example: WD-WM3493798728 for a disk serial number.

  • SKU
  • The stock keeping unit number for this physical element.

  • Status
  • The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.

  • Tag
  • The Tag property uniquely identifies the physical media in the system.
    Example: \\PHYSICALDRIVE0

  • Version
  • A string indicating the version of the physical element.

  • WriteProtectOn
  • Boolean specifying whether the media is currently write protected by some kind of physical mechanism, such as a protect tab on a floppy diskette.


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_PhysicalMedia
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...