Powered by GeSHi

Source code for bios.bat

(view source code of bios.bat as plain text)

  1. @ECHO OFF
  2. :: WMI query to list all properties and values of the Win32_BIOS class
  3. :: This batch file was generated using the WMI Code Generator, Version 1.30
  4. :: http://www.robvanderwoude.com/updates/wmigen.html
  5.  
  6. IF "%~1"=="" (
  7. 	SET Node=%ComputerName%
  8. ) ELSE (
  9. 	SET Node=%~1
  10. )
  11.  
  12. WMIC.EXE /Node:%Node% /Output:STDOUT Path Win32_BIOS Get Name,Version,Manufacturer,SMBIOSBIOSVersion /Format:LIST
  13.