Answer the question
In order to leave comments, you need to log in
Why empty Enabled when requesting Get-ADUser?
I run the simplest command Get-ADUser -Filter 'Enabled -eq $True'
Displays all users, including blocked ones. I check Get-ADUser -Filter * | FT
It turns out that users have an empty Enabled property, which is considered $True. Even if they are blocked. And for some, this property is affixed (only possible for system records and users who logged in locally to the server).
Help me understand why this is happening and how can I find blocked users
OS: Windows Server 2012R2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question