Import-Module ActiveDirectory
get-aduser -identity me -properties * | select AccountExpirationDate, AccountExpires, AccountLockouttime, Badlogoncount, Padpwdcount, Lastbadpasswordattempt, Lastlogondate, Lockedout, Passwordexpired, Passwordlastset, Pwdlastset | format-list
![](https://azuresmoke.com/wp-content/uploads/2021/11/PasswdStatus0-1024x144.png)