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.

15 lines
533 B

  1. WScript.Echo " "
  2. WScript.Echo "Testing brp_sysfinfo values"
  3. WScript.Echo " "
  4. Set oSysInfo = CreateObject("PCHealth.BugRepSysInfo")
  5. if Err.number <> 0 then
  6. WScript.Echo "Error occured ",Err.number
  7. WScript.Echo " ",Err.description
  8. else
  9. WScript.Echo "OS Ver ",oSysInfo.GetOSVersionString
  10. WScript.Echo "OS Language ID ",oSysInfo.GetLanguageID
  11. WScript.Echo "OS Lang User LCID ",oSysInfo.GetUserDefaultLCID
  12. WScript.Echo "OS Lang Active CP ",oSysInfo.GetActiveCP
  13. end if