Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
417 B

  1. '
  2. ' test6.vbs
  3. '
  4. ' enumerate all setup classes
  5. '
  6. Dim WshSHell
  7. Dim DevCon
  8. Dim SetupClasses
  9. Dim SetupClass
  10. SET WshShell = WScript.CreateObject("WScript.Shell")
  11. SET DevCon = WScript.CreateObject("DevCon.DeviceConsole")
  12. SET SetupClasses = DevCon.SetupClasses()
  13. FOR EACH SetupClass IN SetupClasses
  14. WScript.Echo "Class " + SetupClass.Name + " " + SetupClass.Guid + " : " + SetupClass.Description
  15. NEXT