.bat script to gather network information on windows, you can add or remove things as needed
Set > %userprofile%\downloads\_Set.txt
echo %logonserver% > %userprofile%\downloads\_logonserver.txt
whoami > %userprofile%\downloads\_whoami.txt
hostname > %userprofile%\downloads\.txt
ipconfig /all > %userprofile%\downloads\_ipconfig_all.txt
ipconfig /displaydns > %userprofile%\downloads\_displaydns_post.txt
route print > %userprofile%\downloads\_routeprint.txt
tracert -d 192.168.2.100 > %userprofile%\downloads\_tracert_2_100.txt
ping 192.168.2.100 > %userprofile%\downloads\_ping_2_100.txt
nslookup cust.url.com > %userprofile%\downloads\_nslookup.txt
wmic NIC where NetEnabled=true get Name,Speed > %userprofile%\downloads\_NICSpeed.txt
gpresult /V >> %userprofile%\downloads\_gpresult.txt
No comments:
Post a Comment