View Single Post
Old 08-27-2008   #1 (permalink)
William


 
 

loop through all ad objects

hi,

i need to loop through all ad objects to find if a user has rights to
anything. the object could be user, ou, computer, or anything in AD.

i am quite familiar with get-adpermission cmdlet and use it all the time.
however, it only accepts 1 DN. is there a way using powershell to start at
root of AD (or start at a specific DN) and loop through all children and
list rights a user has for everything below?

thank you.

My System SpecsSystem Spec