Get AD user lockout info | Powershell

August 5th, 2021 11:33:59 AM

					
Import-Module ActiveDirectory get-aduser -identity SOMEADUSERNAMEGOESHERE -properties * | select accountexpirationdate, accountexpires, accountlockouttime, badlogoncount, padpwdcount, lastbadpasswordattempt, lastlogondate, lockedout, passwordexpired, passwordlastset, pwdlastset | format-list

Featured Posts