- WMI Library -
WMI Libraly > Win32_PnPDevice Class

Win32_PnPDevice Class

The Win32_PnPDevice represents an association between a device (known to Config Manager as a PnPEntity), and the function it performs. Its function is represented by a subclass of the logical device that describes its use. For example, a Win32_Keyboard or Win32_DiskDrive. Both referenced objects represent the same underlying system device - changes to resource allocation on the PnPEntity side will effect the associated Device.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.


  • SameElement
  • The SameElement reference represents the logical device properties that are associated with the Plug and Play device.

  • SystemElement
  • The SystemElement reference represents the the Plug and Play device associated with the logical device.


    Method not found.

    Example WQL

    SELECT * FROM Win32_PnPDevice
    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 -

    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...