This will check a CSV and check when the password was last reset.

This commit is contained in:
2025-09-24 02:55:42 +00:00
parent d2281e5ca1
commit 3f026c7816

View File

@@ -26,4 +26,4 @@ foreach ($user in $users) {
} elseif ($adUser.LastLogon -lt $thresholdDate) {
Write-Output "$samAccountName Password was last set on $($adUser.PasswordLastSet)"
}
}
}