TIMTOWTDI
But one way...
adfind -gc -b "" -f
"&(objectcategory=person)(samaccountname=*)" name
And if you want to filter out everything but the names...
adfind -gc -b "" -f
"&(objectcategory=person)(samaccountname=*)" name |grep -i
">name:" [Tue 11/16/2004
12:07:22.25]
F:\DEV\cpp\FindNBT>adfind -gc -b "" -f "&(objectcategory=person)(samaccountname=*)" name |grep -i ">name:" AdFind V01.24.00cpp Joe
Richards ([EMAIL PROTECTED])
September 2004
File STDIN:
>name: $$Jricha34 >name: collision\0ACNF:efc83ba9-412f-452e-ad49-72f91d31c201 >name: $jricha34 >name: $jricha34 >name: rallen >name: SystemMailbox{4077C9F4-A03A-4A75-9FE2-1608D0B6665A} >name: SystemMailbox{515CF5C0-A838-4E67-B97A-49E7861C4F18} >name: SystemMailbox{626105E6-15E7-418B-80DC-F0DC61EC038A} >name: SystemMailbox{A3B7C24A-E517-4AB6-8FE0-196128665800} >name: adminid >name: Administrator >name: Administrator >name: ADORGTESTUSER <SNIP>
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Tuesday, November 16, 2004 3:23 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] adfind and -excl How do I do this for
all users in the - From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michael B.
Smith It's
built-in. :-) For
example: adfind -root -f "name=Michael B. Smith" name cn
proxyaddresses Lists my
name, my common name, and all of my proxyaddresses. If I don't have the
attributes there, it lists all attributes. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Anyone? From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Adfind.exe has a switch called –excl
which basically exclude certain attributes. Does anyone know if it can do
the opposite? I want to specify only certain attributes to include. (too
many to exclude) Windows
Systems Engineer Southern Wine
& Spirits - GSD 954-602-2469 __________________________________ __________________________________
__________________________________ |
- RE: [ActiveDir] adfind and -excl joe
- RE: [ActiveDir] adfind and -excl joe
- RE: [ActiveDir] adfind and -excl Michael B. Smith
- RE: [ActiveDir] adfind and -excl Roger Seielstad