Show with a PowerShell command which user last changed his password in a Windows environment.

Log in to the domain controller, and runs the following command.

 

get-aduser -filter * -properties passwordlastset, passwordneverexpires | sort passwordlastset | ft Name, passwordlastset, Passwordneverexpires