Hey everyone I have a little inventory script and I would like to add what the last user is who used a certain machine. I know you can query AD and find what user logged on where but I would like to query a single machine and find the last user of that machine. I haven't been able to find a good way to do this. I know I could find this info in the event viewer under security or I could find which user account folder was the newest, but I would probably have to do some filtering with both of these methods. So what's the best way to go about doing this?
Thanks!!
- Edited by Cody_Horton Monday, February 16, 2015 4:25 PM