Simple powershell script to see status of users in Active Directory
Assuming that you have few usernames in the adusers.txt file under the Temp folder in your C Drive.
Following script should get the information you need and put it in a CSV file under the temp folder.
Feel free to change the path as per your liking.
Get-Content -Path C:\Temp\adusers.txt | foreach {
Get-ADUser -LDAPFilter "(samaccountname=$_)" | Select-Object -Property samaccountname, enabled
} | Out-File C:\Temp\aduserstatus.csv

