I am locking for a Powershell script that checks to see if a AD account is locked, if it is locked I would like for it to unlock and send me an email.
I want to run this scrip as a schedule task on one of my servers
I would also like if possible to get information on the machine that's causing the lock outs.
Thanks!