DevCon ListClass
Note
PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available. We recommend using PnPUtil instead of DevCon. See the Recommended replacement below and Replacing DevCon for more information.
Lists all devices in the specified device setup classes.
devcon listclass class [class...]
Parameters
class
Specifies a device setup class. No equal sign (=) is required.
Recommended replacement
pnputil /enum-devices /class <name or GUID>
For more recommended replacements, see Replacing DevCon.
Comments
Each entry in a setup class display represents one device. The entry consists of the unique instance name and a description of the device in instance : description format.
To find the setup class of a particular device, use the DevCon Stack operation.
Sample usage
devcon listclass printers ports
devcon listclass SmartCardReader