Skip to content

PowerShell- AD User Details- Password last reset and Password never expires

Published: at 12:20 PM

Quick post. Super handy PowerShell command to get user details such as the Last time the password was reset, and if their password is set to never expire.

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