Command to retrieve a list of users and their last login date?

Hi folks, I am assuming to retrieve a list of users who have logged into a workstation is with Get-CimInstance but does anyone know how to retrieve the last date each user account had logged in to the device?

This would run locally on the device, the script would be delivered as a GPO shutdown script.

submitted by /u/ProjectVRD
[link] [comments]

Leave a Reply