Find passwords without expiration date Search-ADAccount -PasswordNeverExpires -UsersOnly | select name, DistinguishedName