AD user object owner script

M

mrh2075

I am trying to find a script that will dump the following data for all
users in Active dirrectory:

samaccountName
Owner

Any help would be great
 
J

Joe Richards [MVP]

M

mrh2075

Not a script but... (all one line)

adfind -gcb -f "samaccounttype=805306368" samaccountname -owner -resolvesids

If you want it in csv format, add -csv

You can get adfind at this link

http://www.joeware.net/freetools/tools/adfind/index.htm

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Editionwww.joeware.net

---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm





- Show quoted text -

Thank you very much. This will make my life so much easyer.

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top