PowerShell Active Directory Password Tool – When it was set and when it expires.

It’s Monday morning, the caffeine from your morning coffee still hasn’t hit you yet, and like clockwork %USERNAME% calls with password issues…typical. Has their Active Directory Password expired? They said they changed it, but did they really? When did it expire or did they last set it? All great questions you love finding answers to on Monday morning, or any morning for that matter! Not with this PS script. I just go to my command window and type when %username%. It shows me the users Active Directory Password info right away, then I can ream…err…I mean educate the user on their Active Directory Password. You can call the PS directly or batch it out for convenience. It’s up to you. I prefer the latter so I don’t have to be in a PowerShell console. You’ll need the ActiveDirectory Module to run this!

Leave a comment

Your email address will not be published. Required fields are marked *