Thursday, August 9, 2007

What is Ad Find you don’t even know what your are missing

Thanks to a Joe Nagy (former SMS MVP) for getting us started with AD find tool, this tool is rock, cannot leave without it

To get adfind…..  http://joeware.net/freetools/tools/adfind/index.htm

adfind -b "ou=nhq region,dc=smtp25,dc=ri,dc=smtp25,dc=net" -t 300 -f "(&(objectcategory=person)(objectclass=user)(mdbusedefaults=FALSE)) samaccountname mdbuserdefaults >> default-false.txt

-b is Bind you need to bind to the LDAP server

OU= change it to your own

DC=Change it to your own

DC=Change it to your own

This will dump the DN and samaccountname of the users to the text file default-false.txt.   When the checkbox is cleared, the value does not actually change to false….. the attribute for the user essentially vanishes.


 

Best,

Oz Ozugurlu

No comments: