revert 59909dd12a
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s

revert revert 51cdd1fdb6

revert Fixed Formatting of Files
This commit is contained in:
2026-04-26 17:26:03 -06:00
parent 59909dd12a
commit 67bdcc687f
155 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
tags:
- PowerShell
- Reporting
- Scripting
---
**Purpose**:
Sometimes you need a report of every user in a domain, and if/when their passwords will expire. This one-liner command will help automate that reporting.
``` powershell
Get-Aduser -filter "enabled -eq 'true'" -properties passwordlastset, passwordneverexpires | ft Name, passwordlastset, Passwordneverexpires > C:\PWReport.txt
```