Thank you for your video, it help getting the info that I needed. Is there a way to get the computer names with the user that is using it with one script?
hi, how can I get a list of the computers with the users that has login into them?
@sabs761010 That information is store with in the logs on the computer. I believe 4624 is a successful login and 4625 is a failed.
@@ITLumberjack thanks for answer, but i would need how to get a list of computers and that include the las user that has log in on them from Active Directory.
@sabs761010 unfortunately Active Directory doesn’t store that information. The way I have always solved that problem is by collecting logs in a tool like Splunk or Elastic. That would give you the ability to collect logs from multiple devices and allow it to be searchable from a single pane of glass.
Perfect! thanks so much
I’m glad it was helpful for you.