This will check a CSV and check when the password was last reset.
This commit is contained in:
@@ -26,4 +26,4 @@ foreach ($user in $users) {
|
||||
} elseif ($adUser.LastLogon -lt $thresholdDate) {
|
||||
Write-Output "$samAccountName Password was last set on $($adUser.PasswordLastSet)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user