Here is my script
echo Log In %DATE% at %TIME% with %USERNAME% FROM %COMPUTERNAME% >> \\CORONA\SHARE2\TYLER\"IP DIR"\IPS.TXT
IPCONFIG |FIND "IP" > \\CORONA\SHARE2\TYLER\"IP DIR"\IPS.TXT
Basically I need to have this on our network. I will have a task sequence set up to run this every time a user on our domain logs in...
I need it to log in the document ips.txt (doesn't have to be that name, it can be anything. the location however is where it needs to be) Needs to log the IP, the date, the time, which user, and from what computer.
Any suggestions? i get the error in line 1 char 10.