Don't quite understand what you are trying to do. Is this users logging onto the domain or the server? Do you need to capture their details when they log on? Each set of details in separate file? Etc.
Ideally I need to have a file that is appended with a users Full Name (nothing else)when they log on to the domain. However if that is too much work the users logon name would suffice. I then need to pull that file into a database that a front end will interrogate that will inform everyone what users are logged on and therefore in the office/building etc.
includes a utility psloggedon, which if run from server returns all users logged on at that time. You could pipe it to a text file (psloggedon > log.txt) for hard copy. This is a snapshot at the time, not accumulative.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.