List When a Password Expires

Determines the date when a user password will expire.

 
 
 
 
 
3 Star
(3)
Add to favorites
Active Directory
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Ampersand not allowd
    1 Posts | Last post August 21, 2012
    • When i am running script it is giving me error.
      Ampersand not allowed. The & operator is reserved for future use; use "&" to pass ampersand as a string
  • Possible error in script
    2 Posts | Last post November 16, 2009
    • I am pretty sure the following line of code is wrong
      
      If intCurrentValue and ADS_UF_DONT_EXPIRE_PASSWD Then
      
      I think it should be as follows
      
      If intCurrentValue = ADS_UF_DONT_EXPIRE_PASSWD Then
      
    • Sorry, I was wrong!  The following line of code is correct.
      If intCurrentValue and ADS_UF_DONT_EXPIRE_PASSWD Then
      
      You do need to add define intCurrentValue as a variable though at the top of the script.
      Otherwise it will give you an error message saying that inCurrentValue is undefined.
      
      Dim intCurrentValue