- Sweep Ping.
If you want to check all the devices on the LAN Network by doing a sweeping ping to all the IPs in a given /2 subnet.
for /L %a in (1,1,254) do @ping -n 1 192.168.1.%a|find “TTL”
Just replace the 192.168.1 with your first three octets.
2. DIsplay your machines Routing Table using route print command on the Command Line.
Machine or Server routes too lengthy? Output it in a text file.
route print > text.txt
4. PsExec \\MachineName ipconfig /all
Download PsExec: https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
5. Know your public IP via Command Line:
nslookup myip.opendns.com resolver1.opendns.com
6. Use Netstat to See Listening Ports and PID in Windows
netstat -a -n -o
More advanced troubleshootinh here soon! (Use PID)