List Available Wireless Networks from Command Line

I'm currently trying to do some physical debugging with one of our devices. It would be very useful to be able to use a command to output a list of available wireless networks to the command line or to a file (which I could then run a diff on later). Is there a way to do this in Windows 7?


Try NetShell.

The command netsh wlan show networks should work for you.

You can save output to a text file by using redirection like so:

netsh wlan show networks > somefile.txt