ad-password-protection icon indicating copy to clipboard operation
ad-password-protection copied to clipboard

Feature Request: Show scoring / points with Get‐PasswordFilterResult

Open darkpixel opened this issue 1 year ago • 4 comments

It would be nice if Get-PasswordFilterResult could output the score for a password. Maybe like:

PS C:\Users\aaron> Get-PasswordFilterResult -fullname "Test User" -username "test" -password "lowscorepass1!"
PointsForCharacters: 12
PointsForLowerCase: 0
PointsForUpperCase: 0
PointsForNumbers: 1
PointsForSymbols: 1
PointsForHavingLowerCase: 1
PointsForHavingUpperCase: 0
PointsForHavingNumbers: 1
PointsForHavingSymbols: 1
PointsTotal: 17
PointsRequired: 20
Result: ComplexityPointsNotMet
PS C:\Users\aaron>

I think it would help when tuning things.

Maybe even output the registry values related to the policy. i.e. PointsGivenPerCharacter: 1

darkpixel avatar Mar 14 '23 23:03 darkpixel