Lists all device setup classes, including classes that devices on the system do not use. Valid on local and remote computers.
devcon [/m:\\computer] classes
The /m parameter must precede the operation name (classes). Otherwise, DevCon ignores the /m parameter and displays the classes on the local computer without returning a syntax error.
In the DevCon display, classes are listed in the order that they appear in the registry (alphanumeric order by GUID).
To find the devices in a setup class, use the DevCon ListClass operation. To find the setup class of a particular device, use the Devcon Stack operation.
devcon classes devcon classes > setupclasses.txt devcon /m:\\Server01 classes