PDA

View Full Version : Getting an Email List From Active Directory


BuGaLoU
03-23-2005, 07:42 PM
I have a somewhat simple task that is giving me some trouble. There may be a simple way to do this that I am over looking, but I can't seem to figure it out.

Basically I just need to get a list of users with thier corresponding emails for my OU for my company's domain. I am an exchange admin, and general admin.

Is there any way to do this?

rcolbert
03-23-2005, 07:52 PM
Should be pretty easy with vbscript.

Try looking here:

http://www.microsoft.com/technet/scriptcenter/hubs/exchange.mspx

for examples. If not, the script cente has a few other sections worth looking in:

http://www.microsoft.com/technet/scriptcenter/default.mspx

You may need to glue a few things together. First come up with the logic to read all the user's in an OU, and second to retrieve the specific properties you need.