I am using this to find users that are disabled in AD:
Get-ADUser -Filter 'Enabled -eq $false' -Properties Name, SamAccountName | Select-Object Name, SamAccountName
It does not show any disabled users except the krbtgt user:
Name SamAccountName
---- --------------
krbtgt krbtgt
What am i doing wrong?
I have disabled users in AD and they are not appearing.
Why?
Have a look at my screenshot
