January 12, 2017

PowerShell list users with Expired Passwords


Get-ADUser -filter {Enabled -eq $True -and PasswordExpired -eq $True} -Properties "DisplayName"


Please see this for automated expiration emails: https://steronius.blogspot.com/2018/04/in-production-active-directory-password.html


  

No comments:

Post a Comment

Comments, Suggestions or "Thank you's" Invited! If you have used this info in any way, please comment below and link/link-back to your project (if applicable). Please Share.
I accept Bitcoin tips of ANY amount to: 1GS3XWJCTWU7fnM4vfzerrVAxmnMFnhysL
I accept Litecoin tips of ANY amount to: LTBvVxRdv2Lz9T41UzqNrAVVNw4wz3kKYk