🖥️ Batch (CMD)

Get Network Adapter Configuration Report (Batch)

Uses wmic to list Network Adapter Configuration (Win32_NetworkAdapterConfiguration) straight from the command line.

By WindowsScripting.com · 393 B
GetNetworkAdapterConfigReport.bat
@echo off
:: ============================================================
:: GetNetworkAdapterConfigReport.bat
::
:: Reports Network Adapter Configuration via WMI (Win32_NetworkAdapterConfiguration).
:: ============================================================

wmic path Win32_NetworkAdapterConfiguration get Description,IPAddress,DefaultIPGateway,DNSServerSearchOrder /format:table

pause