Here's
but two possible ways that sprung to mind.
Returns security groups only
-
dsquery * domainroot -filter
"((objectcategory=group)(!sAMAccountType:1.2.840.113556.1.4.803:=1))"
Return DLs only -
dsquery * domainroot -filter
9:13 AMTo:
[EMAIL PROTECTED]Subject: RE: [ActiveDir] Scripting
help
Thanks Dean. Would that
return the Security groups that are also being used as DL by virtue of having
the proxy address field set?
Sorry if its an
obvious question but I new to this side of AD
From: [EMAIL PROTECTED]
[mai
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Scripting help
Thanks Dean. Would that return the Security groups that are also being used
as DL by virtue of having the proxy address field set?
Sorry if it's an obvious question but I new to this side of AD
To: Send - AD mailing list
Subject: RE: [ActiveDir] Scripting
help
No, had I read your question more
thoroughly I'd have known that was useful to you ;) It currently
differentiates the group types by querying on the bit used by AD to maintain
the difference. Proxy address doesn't come into play
AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Scripting help
Thanks Dean. Would that return the Security groups that are also being
used
as DL by virtue of having the proxy address field set?
Sorry if it's an obvious question but I new to this side of AD
: Wednesday, November 03, 2004 9:46
AM
Subject: RE: [ActiveDir] Scripting
help
No,
had I read your question more thoroughly I'd have known that was useful to you
;) It currently differentiates the group types by
querying on the bit used by AD to maintain the difference. Proxy
David, try recipe 6.2 from Robbie Allen's AD Cookbook. If you don't have the book, I
highly recommend
it, but you can also find what you need at www.rallenhome.com
There are also some create user scripts at Clarence Washington's site at
http://cwashington.netreach.net
mc
-Original
]
Subject: RE: [ActiveDir] Scripting Help
David, try recipe 6.2 from Robbie Allen's AD Cookbook. If you don't have the book, I
highly recommend
it, but you can also find what you need at www.rallenhome.com
There are also some create user scripts at Clarence Washington's site at
http