Gets and sets the maximum number of passwords that can be stored in the history list. The user cannot reuse a password that is in the history list.
This property specifies the length of password history maintained. A new password cannot match any of the previous PasswordHistoryLength passwords. Valid values for this element are 0 through 8.
Dim DomainObject As IADsDomain
Set DomainObject = GetObject("NTDS://YourDomainName")