DSQuery Command to List all Security Descriptors in Domain For All OU's

Hello, is there a DSQUERY that I can run that will show/tally up all of the Security Descriptors for ALL OU's within my domain?  The items I'm needing to tally up are located under the Security tab of each group in AD under it's properties.  I'd like to filter out the following:  "System Admin,Domain Admins,Schema Admins,Account Operators,Print Operators,Enterprise Domain Controllers,Password Manager,System,Pre-Windows 2000 Compatible Access,MigrateSIDHistory"  I'd then like to push the results say to a text file >>c:\totalsecuritydescriptors.txt
itsmevicAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike KlineCommented:
Take a look at the following question Joe helped with (great work by Joe)

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_25342771.html

Several versions that may help you

with a tool like adfind I can do something like

adfind -default -f objectcategory=organizationalunit -sddl++ -resolvesids

and you can add a -sddlnotfilter (but that won't filter out every group)

there is also the dsrevoke tool with the /report switch but the scripts in the question above are better

Thanks

Mike
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itsmevicAuthor Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.