Use-Powershell
19 January 2016
Ldap filter enabled users
(&(objectCategory=organizationalPerson)(objectClass=User)(userAccountControl:1.2.840.113556.1.4.803:=2))
for disabled users:
(&(objectCategory=organizationalPerson)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
1 comment:
Evan In The Cloud
16 September, 2016 05:07
Hi Marius. I think you have got those filters the wrong way around.
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Hi Marius. I think you have got those filters the wrong way around.
ReplyDelete