Skip to content

Instantly share code, notes, and snippets.

@adfadasdf-cymklajkjsk
Created October 5, 2020 13:11
Show Gist options
  • Save adfadasdf-cymklajkjsk/83803dae956b734d66ca51bd796ead2d to your computer and use it in GitHub Desktop.
Save adfadasdf-cymklajkjsk/83803dae956b734d66ca51bd796ead2d to your computer and use it in GitHub Desktop.
Use VBScript to get surrounding WiFi
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "cmd.exe"
WScript.Sleep 500
WshShell.SendKeys "netsh wlan show network mode=bssid"
WshShell.SendKeys "{ENTER}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment