🖥️ Batch (CMD)

Get Operating System Info Report (Batch)

Uses wmic to list Operating System Info (Win32_OperatingSystem) straight from the command line.

By WindowsScripting.com · 361 B
GetOperatingSystemReport.bat
@echo off
:: ============================================================
:: GetOperatingSystemReport.bat
::
:: Reports Operating System Info via WMI (Win32_OperatingSystem).
:: ============================================================

wmic path Win32_OperatingSystem get Caption,Version,OSArchitecture,LastBootUpTime,FreePhysicalMemory /format:table

pause