How does the Automox agent determine the last logged in user of a device for Windows
The Automox agent pulls the Last Logged in User from the Windows Management Instrumentation (WMI) with the following command:
get-wmiobject -class win32_userprofile
and sorting via the lastusetime attribute.