windows-nt/Source/XPSP1/NT/base/pnp/tools/devcon2/scripts/test6.vbs

18 lines
400 B
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
'
' test6.vbs
'
' enumerate all setup classes
'
Dim WshSHell
Dim DevCon
Dim SetupClasses
Dim SetupClass
SET WshShell = WScript.CreateObject("WScript.Shell")
SET DevCon = WScript.CreateObject("DevCon.DeviceConsole")
SET SetupClasses = DevCon.SetupClasses()
FOR EACH SetupClass IN SetupClasses
WScript.Echo "Class " + SetupClass.Name + " " + SetupClass.Guid + " : " + SetupClass.Description
NEXT