I recently ran the script on a server and noticed it returned an incorrect complexity enable result.
We determined that an alternate command fixed the issue.
Instead of using
(Get-ADDefaultDomainPasswordPolicy).PasswordComplexity
Which may return a blank.
Using the following
(Get-ADDefaultDomainPasswordPolicy).ComplexityEnabled
Returns “True” as expected.
Hi
I recently ran the script on a server and noticed it returned an incorrect complexity enable result. We determined that an alternate command fixed the issue.
Instead of using (Get-ADDefaultDomainPasswordPolicy).PasswordComplexity Which may return a blank.
Using the following (Get-ADDefaultDomainPasswordPolicy).ComplexityEnabled Returns “True” as expected.
Thanks for a great tool.