# Normalize password-quality output

Normalize password-quality output on Evotec with practical examples, usage guidance, and reusable project workflows.

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.

[View on GitHub](https://github.com/EvotecIT/PasswordSolution) [Visit Website](#) [Releases](https://github.com/EvotecIT/PasswordSolution/releases/tag/v2.1.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PasswordSolution)

Stars**170**

Forks**21**

Open issues**1**

PowerShell Gallery downloads**32810**

Release**v2.1.0**

Language: PowerShell Updated: 2026-11-13

Curated Examples

Use PasswordSolution replacements to make password-quality output easier to read.

This pattern is useful when report fields contain compact codes that need display-friendly values.

It is adapted from `Examples/Example-FindUsersPasswordQualityConsoleWithReplacements.ps1`.

## Example

```powershell
Import-Module PasswordSolution

$replacements = @(
    New-PasswordConfigurationReplacement -PropertyName 'Country' -Type eq -PropertyReplacementHash @{
        'PL'      = 'Poland'
        'DE'      = 'Germany'
        'US'      = 'United States'
        'Unknown' = 'Not specified'
    } -OverwritePropertyName 'CountryName'
)

$users = Find-PasswordQuality -Replacements $replacements
$users | Select-Object Name, SamAccountName, CountryName | Format-Table -AutoSize
```

## What this demonstrates

- defining value replacements
- writing normalized values to a new property
- keeping report output readable for reviewers

## Source

- [Example-FindUsersPasswordQualityConsoleWithReplacements.ps1](https://github.com/EvotecIT/PasswordSolution/blob/master/Examples/Example-FindUsersPasswordQualityConsoleWithReplacements.ps1)

<!-- PowerForge markdown artifact sha256:42447326A60B46665E2B935CBE060DAF21C038F78CA3D1ACCC19075E018150ED -->
