Thursday, January 12, 2017

PowerShell list users with Expired Passwords


Get-ADUser -filter {Enabled -eq $True -and PasswordExpired -eq $True} -Properties "DisplayName"