Last active
October 3, 2021 12:36
-
-
Save Techlogist/e1f3e0b33b4a816c044231be491e8ff2 to your computer and use it in GitHub Desktop.
Get computer hardware details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM License: GNU General Public License v2.0 | |
REM Author: Miguel | |
REM Website: www.techlogist.net | |
REM Post: https://techlogist.net/batch/get-computer-hardware-details | |
REM Description: This script show a few computer hardware configurations | |
REM OS/Language/Region: Windows/EN-US | |
@echo off | |
REM This scripts captures a few key hadware features. | |
title Hardware Check | |
color f0 | |
mode con:cols=70 lines=33 | |
goto start | |
:start | |
cls | |
echo. | |
echo Computer: %computername% | |
echo. | |
echo Date/Time: %date% / %time% | |
echo. | |
REM Get computer manufacturer and model | |
wmic computersystem get manufacturer,model | |
echo. | |
REM Get serial number | |
wmic bios get serialnumber | |
echo. | |
REM Local Drives | |
wmic logicaldisk get size,freespace,caption | |
echo. | |
REM RAM capacity,location, type and speed | |
wmic memorychip get DeviceLocator, MemoryType, Capacity, Speed | |
echo. | |
REM CPU model | |
wmic cpu get name,MaxClockSpeed | |
echo. | |
Pause>nul | |
echo Press any key to exit… | |
:Exit | |
cls | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment