🖥️ Batch (CMD)

Get Connected Monitors Report (Batch)

Uses wmic to list Connected Monitors (Win32_DesktopMonitor) straight from the command line.

By WindowsScripting.com · 320 B
GetDesktopMonitorReport.bat
@echo off
:: ============================================================
:: GetDesktopMonitorReport.bat
::
:: Reports Connected Monitors via WMI (Win32_DesktopMonitor).
:: ============================================================

wmic path Win32_DesktopMonitor get Name,ScreenWidth,ScreenHeight /format:table

pause