I have a client who is running into some AD issues, where an user gets the account locked random and sometimes happens to other users?
Instead of looking at the security logs on domain controllers, I would like to get a script to easily identify the source of the locked accounts, i.e. computer name, server, network device and so on. as well as last logon time
Can you please help me with this request?