RTFM_ security field notes

Active Directory password strength

Compare replicated account passwords against a dictionary with DSInternals.

AD password strength

Test-PasswordQuality compares the password material of replicated accounts with a wordlist and reports weak or reused passwords.

$DictFile = "C:\xato.txt"
$DC = "<DC>"
$Domain = "<DOMAIN DN>"
$Cred = Get-Credential -Username <USERNAME>
Get-ADReplAccount -Credential $Cred -All -Server $DC -NamingContext $Domain | Test-PasswordQuality -WeakPasswordsFile $DictFile

Use it only with authorization to read the directory replication data. Keep the resulting report in the mission workspace.

Provenance and confidence
Version
1
Sources reviewed
2026-11-23
Confidence
medium — Translated from the legacy RTFM page on 2026-11-23; commands and claims were not independently re-verified.

Also searched as: faiblesse des mots de passe, robustesse des mots de passe, password quality, mots de passe faibles, test-passwordquality