The use of the ESP8266 in the world of IoT

User avatar
By baget
#30433 Hi
I wrote a small powershell script to find all ESPs on the network (based on MAC Address prefix)

Code: Select all$ESPREFIX = " 18-FE-34"

$ips += arp -a | sls $ESPREFIX |% { $_.ToString().Trim().Split(" ")[0] + "," +  $_.ToString().Trim().Split(" ")[9] } | get-unique

$myList = New-Object System.Collections.ArrayList
$myList.add("IP, MAC")
$myList += $ips

ConvertFrom-Csv $myList | Out-GridView


you can save it to .ps1 file and run it (make sure you change your ExecutionPolicy, so you can run unsigned scripts)
Hope you will enjoy it :D