Pureinfotech Forums

Get PC name, IP address, Windows 10 version, and other info with simple batch file


#1

You can use this batch file output using Command Prompt many of your computer information, such as name, IP address, Windows 10 version, RAM, and other system information.

Just copy and paste the entire command in Command Prompt (via SpiceWorks), press any key when done it goes away:

@echo off
echo Checking your system info, Please waiting...
systeminfo | findstr /c:"Host Name"
systeminfo | findstr /c:"Domain"
systeminfo | findstr /c:"OS Name"
systeminfo | findstr /c:"OS Version"
systeminfo | findstr /c:"System Manufacturer"
systeminfo | findstr /c:"System Model"
systeminfo | findstr /c:"System type"
systeminfo | findstr /c:"Total Physical Memory"
ipconfig | findstr IPv4

echo.

echo Hard Drive Space:
wmic diskdrive get size

echo.
echo.

echo Service Tag:
wmic bios get serialnumber

echo.
echo.
echo CPU:
wmic cpu get name

echo Task Completed!

pause