Get the info you need from a user quickly with a bat file like this one.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
@color F0 @echo IP INFORMATION @echo Help Desk x8888 @ipconfig /all | find "IPv4" @ipconfig /all | find "Host Name" @ipconfig /all | find "DNS Servers" @ipconfig /all | find "Default Gateway" @ipconfig /all | find "DHCP Server" @ipconfig /all | find "Lease Obtained" @ipconfig /all | find "Lease Expires" @echo MAC Address @getmac /FO LIST | find "Physical Address" @echo Pinging Self @ping -n 1 127.0.0.1 | find "TTL" @echo Pinging Core Network @REM put your gateway below @ping -n 1 10.1.1.190 | find "TTL" @echo Pinging Internet @ping -n 1 8.8.8.8 | find "TTL" @echo Domain and Username @whoami @ver @pause |