This script is to verify credentials for a specified user.
After you run this script you have to enter the username and password.
Find attached a screenshot how the outputs should look like ->
Download the script
If you want to verify multiple AD user accounts you can use my other