Windows Command Prompt

Find last logon date/time of specified user

net user username | findstr /B /C:"Last logon"

Basic ping scan and output to file

for /L %I in (1,1,245) do ping -w 30 -n 1 192.168.1.I% | find "Reply" >> <OUTPUT FILE NAME>.txt

Last updated