I want to write a VBScript to query AD and get all the disabled accounts and their disabled date. Currently, I can get a list of disabled accounts, but I am not sure how to get the disabled date. Does anyone have any idea how to do this?
Thanks!
I am new to LDAP. I am trying to query AD about all accounts without manager. The following query will give all the accounts with or without managers.
&(objectCategory=person)(objectClass=user)(!(manager=*)
Does anyone know how to write a query to get all AD accounts without manager?
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.