Get Password Expire Date from AD Users

Configure the Days you want to be notified when Password of Users will expire, You get a list of Users which Password will expire duirng the next days, you can easily change to do an Action for this Users.

 
 
 
 
 
5 Star
(3)
2,263 times
Add to favorites
Active Directory
6/2/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Retrieve AD password expiry notice date from AD Policy
    2 Posts | Last post August 12, 2016
    • Instead of manual setting the day of span in the script, why not just revise the script to retrieve the AD password expiry notice date from AD policy ?
    • Sure, that's possible, but in this case the requirements have been different.
  • Mail to "red users"
    2 Posts | Last post July 22, 2016
    • Hi Michael,
      
      how can I send a mail to the red users?
      
      Thanks
      
      Peter
    • Hi,
      
      just add an Send-Mail CMDlet on the first IF condition, to send a Mail to the User
  • Single user password expiry date
    2 Posts | Last post December 17, 2015
    • Hi Michael,
      Many thanks for the script, a quick one though, if I wanted to get the password expiry date for a single user, how would I modify the script or what would I need to add?
      
      
      Regards
      Hez
    • Hi
      thats an easy on
      
      $User=Get-ADUser -identiy YourUser
      Get-date($User.ExpiryDate) -Format yy-MM-dd