# Review enabled users only

Review enabled users only on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSPasswordExpiryNotifications

Following PowerShell Module provides different approach to scheduling password notifications for expiring Active Directory based accounts. While most of the scripts require knowledge on HTML... this one is just one config file and a bit of tingling around with texts. Whether this is good or bad it's up to you to decide. I do plan to add an option to use external HTML template if there will be requests for that.

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

Stars**41**

Forks**14**

Open issues**0**

PowerShell Gallery downloads**4188**

Release**v1.6.9**

Language: PowerShell Updated: 2026-02-14

Curated Examples

Use PSPasswordExpiryNotifications to narrow expiry review to enabled accounts.

This pattern is useful when the first report includes disabled or exception accounts that should not be part of reminder planning.

It is adapted from `Example/ListUsers.ps1`.

## Example

```powershell
Import-Module PSPasswordExpiryNotifications

Find-PasswordExpiryCheck |
    Where-Object {
        $_.Enabled -eq $true -and
        $_.PasswordNeverExpires -eq $false
    } |
    Sort-Object -Property DateExpiry |
    Select-Object DisplayName, UserPrincipalName, DateExpiry, DaysToExpire, Enabled
```

## What this demonstrates

- narrowing review to enabled users
- keeping notification planning separate from sending
- selecting only the columns needed for a service-desk review

## Source

- [ListUsers.ps1](https://github.com/EvotecIT/PSPasswordExpiryNotifications/blob/master/Example/ListUsers.ps1)

<!-- PowerForge markdown artifact sha256:8A020904F69C7688DDF1FA614A1A442096DA39FECC5F0B5F40DCE8C06AD41B2B -->
