Windows – How to refresh netsh wlan show interface (while doing a wifi survey of the room)

netshwifiwindows

I like using the command netsh wlan show interface to quickly get info on my wifi connection.

Does anyone know how I could have the output refresh every second? This would allow me to do a quick wifi survey of any room without having to manually enter the command every time I move.

Best Answer

A batch file with a simple loop might do the trick:

@echo off
REM This is an infinite loop - you must press Ctl + C to break out
:REFRESH
Cls
netsh wlan show interface
Ping 127.0.0.1 -n 2 -w 1000>nul
GOTO REFRESH