Get computer's last user logon


hey have little inventory script , add last user used machine. know can query ad , find user logged on query single machine , find last user of machine. haven't been able find way this. know find info in event viewer under security or find user account folder newest, have filtering both of these methods. what's best way go doing this?

thanks!!


check out:

http://blogs.technet.com/b/heyscriptingguy/archive/2007/01/23/how-can-i-get-the-name-of-the-last-user-to-log-on-to-a-computer.aspx


al dunbar -- remember 'mark or propose answer' or 'vote helpful' appropriate.



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Round Robin is killing performance on our network

WMI Repository 4GB limit - Win 2003 Ent Question

Change home folder default permission?