The new version of ADFind.exe freeware allows you to define and recall a file of
filter attributes.
I defined ADFuser.qf, which contains:
objectcategory=Person objectClass=UserUsing:
adfind -ef c:\util\ADFcsv.cf -ff c:\util\ADFuser.qf sAMAccountName distinguishedName userPrincipalName MemberOf userAccountControl lastLogonmight generate an output that looks like:
"sAMAccountName";"distinguishedName";"userPrincipalName";"MemberOf";"userAccountControl";"lastLogon" "Test";"CN=Test.User,CN=Users,DC=JSIINC,DC=COM";"[email protected]";"CN=Accounts Payables,CN=Users,DC=JSIINC,DC=COM#CN=accountants,CN=Users,DC=JSIINC,DC=COM";"66048 \[NORMAL_USER(512);NO_EXPIRE(65536)\]";"2005/11/15-23:55:00 Eastern Standard Time"NOTE: See the following tips:
How can I save and recall the switches I use with ADFind.exe freeware? How can I use environment variables to define commonly used ADFind.exe freeware switches? ADFind.exe freeware can use :AND: and :OR: instead of :1.2.840.113556.1.4.803: and :1.2.840.113556.1.4.804: to define a bitwise filter.
0 comments
Hide comments