Powershell Find AD users with Change Password at Next Logon Set
We can get the list from our AD of users who have the change their password at the next logon set in Active Directory powershell cmdlet Get-ADUser.
Get-ADUser -LDAPFilter “(pwdLastSet=0)” -SearchBase “OU=Staff,OU=Org Users,DC=Domain,DC=internal” | Select Name,distinguishedName