Say I have a list of names and I want to query AD to get back their user
name, Home directory, mail store. What would be the command to or way
to more efficiently get this information.
Eventually I need their Home directory size and mailbox size too but figure that I gotta do more manually.
You can use dsquery and dsget commands in windows 2003, or use ADSI script, samples of ADSI script You will find in scriptomatic which can be downloaded from technet site.
Take a look also on this script samples: http://www.rallenhome.com/books/adcookbook/code.html
-- Tomasz Onyszko [MVP] [EMAIL PROTECTED] http://www.w2k.pl
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
