Here is the command to list PasswordNeverExpires users from active directory. The below command list all enabled users with PasswordNeverExpires. Read More Powershell script to list PasswordNeverExpires users from active directory