Hi all,
Firstly, I just wanted to say I'm an absolute Powershell newbie, and secondly that this site is a great repository of knowledge by those way smarter than me!
Anyway, I am a Network Admin at a secondary school, and am looking for a Powershell script to log some user, machine and session information, and write them to an external file (txt, csv or xml).
The information I am after is pretty simple, and I seem to be able to get them individually, I would just like some help in gathering all in a script, which can then be outputted to a log file.
I would like to get the following info when a user logs in and logs off :
UserName ComputerName IP Address MAC Address Date/Time
Thanks in advance for any help or advice people can give.
jorna22