Open aseigler opened 1 month ago
Old way:
PS R:\> (Measure-Command { $dsaccounts | Test-PasswordQuality -WeakPasswordHashesSortedFile R:\pwned.txt }).TotalMilliseconds
2141.1098
New way:
PS R:\> (Measure-Command { $dsaccounts | Test-PasswordQuality -WeakPasswordHashesSortedFilePath R:\hibp_files\ }).TotalMilliseconds
850.2169
Hey @aseigler , thx for this nice PR. Could you please update the markdown documentation for the cmdlet as well, perhaps with an example? I am also not sure, if the command would work properly when both WeakPasswordHashesSortedFile
and WeakPasswordHashesSortedFilePath
are used.
Hey @aseigler , thx for this nice PR. Could you please update the markdown documentation for the cmdlet as well, perhaps with an example?
Sure, no problem.
I am also not sure, if the command would work properly when both
WeakPasswordHashesSortedFile
andWeakPasswordHashesSortedFilePath
are used.
This would definitely be an either/or situation, it would make no sense to try to do both in a single command, but checking for that case is simple enough as well.
Ready for review again.
Bump. @MichaelGrafnetter
Resolves #185