I was trying to list active and disabled users in AD using powershell commands.
Get-ADUser -Filter {Enabled -eq $false} | FT samaccountname
But the list was incorrectly populated. Some of the disabled users were listed in active user list.
When I checked those users' attributes, I found that the "Enabled" attribute is blank for those users. It was neither true nor false.
Please advise on how to update their attributes.