Project

PasswordSolution

This module allows the creation of password expiry emails for users, managers, administrators, and security according to defined templates. It's able to work with different rules allowing to fully customize who gets the email and when.

Stars169
Forks22
Open issues2
PowerShell Gallery downloads32712
Releasev2.1.0
Language: PowerShell Updated: 2026-02-14T21:45:14.0000000+00:00

Curated Examples

Review password quality

Use PasswordSolution to review password quality and show selected fields.

This pattern is useful when you want a console-first password-quality review before generating a full HTML report.

It is adapted from Examples/Example-FindUsersPasswordQualityConsole.ps1.

Example

Import-Module PasswordSolution

$users = Find-PasswordQuality -WeakPasswords 'Password123!', 'Welcome123!', 'Spring2026!'

$users |
    Select-Object Name, SamAccountName, Domain, PasswordNeverExpires, PasswordExpired |
    Format-Table -AutoSize

What this demonstrates

  • running a password-quality review
  • using a short lab-safe weak-password list
  • selecting a compact set of review columns

Source