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.

8 lines
278 B

  1. on error resume next
  2. set cimomid = GetObject("winmgmts:\\ludlow\root\default:__cimomidentification=@")
  3. if err <> 0 then
  4. WScript.Echo ErrNumber, Err.Source, Err.Description
  5. else
  6. WScript.Echo cimomid.path_.displayname
  7. WScript.Echo cimomid.versionusedtocreatedb
  8. end if