I would like a login scrip that can run on Windows XP and Windows Vista, for standard users (no admin access, not power users), that can write back to a directory on the network to a .txt file. I would like this script to create a .txt file, or other format (.csv?), that creates the file and names it by the login name. Such as, if the name is John Doe, it is John Doe.csv/.txt
Within the file, log the computer name that they login to. I would also like to know if the network card is set to DHCP or Static. If Static, provide the network address information, as well as the MAC address of the network card.
This can be .bat or .vbs - thanks