@echo off
Setlocal
For /F %%a in ('wmic bios get serialnumber /value^|find "SerialNumber"') do Set %%a
For /F %%a in ('wmic csproduct get vendor /value^|find "Vendor"') do Set %%a
for /f "tokens=2 delims==" %%D in ('wmic csproduct get name /value') do set MODEL=%%D
@echo %computername% %Vendor% %MODEL% %SerialNumber%
pause
endlocal
Aucun commentaire:
Enregistrer un commentaire