Get-LastLogon - Determine The Last LoggedOn User - Outputs Object

This function will list the last user logged on or logged in.  It will detect if the user is currently logged on via WMI or the Registry, depending on what version of Windows it runs against.

 
 
 
 
 
(24)
16,180 times
Add to favorites
Servers
10/11/2012
E-mail Twitter del.icio.us Digg Facebook