Create advanced Windows 10 batch file

PHOTO EMBED

Mon Dec 05 2022 00:21:25 GMT+0000 (Coordinated Universal Time)

Saved by @savabeh191

@ECHO OFF

:: This batch file details Windows 18, hardware, and networking configuration.
TITLE My System Info

ECHO Please wait... Checking system information.

:: Section 1: Windows 10 information

ECHO ==========================

ECHO WINDOWS INFO

ECHO ============================

systeminfo I findstr /c:"OS Name"

systeminfo I findstr /c:"OS Version"

systeminfo I findstr /c:"System Type"

:: Section 2: Hardware information.

ECHO ============================

ECHO HARDWARE INFO

ECHO ============================

systeminfo I findstr /c:"Total Physical Memory"

wmic cpu get name

wmic diskdrive get name,model,size

wmic path win32_yideocontroller get name

wmic path win32_yideoController get CurrentHorizontalResolution,CurrentVerticalResolution
:: Section 3: Networking information.

ECHO ============================

ECHO NETWORK INFO

ECHO ============================

ipconfig I findstr IPv4ipconfig I findstr IPv6

STARE https://support.microsoft.com/en—us/windows/windows~10—system-requirements-6d4e9a79-66bf-7956—467c-795cf@386715
PAUSE
content_copyCOPY

The above script runs each line to query a series of system details, and the result will be divided into three categories, including "WINDOWS INFO," "HARDWARE INFO," and "NETWORK INFO." Also, the "START" command will open the web browser in the official support page outlining the Windows 10 system requirements, which you can check against your information. @ECHO OFF — Shows the message on a clean line disabling the display prompt. Usually, this line goes at the beginning of the file. TITLE — Prints a custom name in the title bar of the console window. :: — Allows writing comments and documentation information. These details are ignored when the system runs the batch file. ECHO — Prints the text after the space on the screen. START — Opens an app or website with the default web browser. PAUSE — Tells the console window to stay open after running the command. If you do not use this option, the window will close automatically as soon as the script finishes executing.

https://www.windowscentral.com/how-create-and-run-batch-file-windows-10