Query for AD to get E-mails With User Accounts & Creating New user Accounts !!
- From: "Ahmad Sabry El Gendi" <AhmadSabry@abc>
- Date: Wed, 24 Jan 2007 17:18:31 +0200
Hello everybody ,
i'm a newbie in Exchange Server who has it as heritage from a previous
Admin.
so what i need is (Maybe Simple):
1- a query (to get the output to a *.txt file) for AD to get all e-mails
accounts associated with each user account .. so i can know in which OU it
lives & how many E-mails it has.
i've this but i don't know what parameter or where should i add to get the
above details .. i just get e-mails:
dsquery user "OU=Clients, DC=mydomain,DC=Com" | dsget user -email >
C:\emails3.txt
2- Another query (or maybe command like dsadd) but i need to create batch
file with those specific options:
1- User login Name
2- The associated domain (Because i've a big block of domains
available)
3- Option to create the Mailbox for that user.
4- ability to specify the alias
5- First Name & Last Name option of course
6- Specify the Primary E-mail Address (set as primary)
7- the delivery option to forward e-mail (the ability to spcify the
contact e-mail address) with option to make a copy available in the original
mailbox
i'm not asking for a Pizza for home delivery .. you may please guide me
where or how to search for this , or the articles i should read.
your help is greatly appreciated
Ahmad Sabry
The Exchange Newbie :-)
.
- Follow-Ups:
- Re: Query for AD to get E-mails With User Accounts & Creating New user Accounts !!
- From: Bharat Suneja [MVP]
- Re: Query for AD to get E-mails With User Accounts & Creating New user Accounts !!
- Prev by Date: Re: Move Exchange to new server hardware?
- Next by Date: Re: Server hangs on reboot
- Previous by thread: Re: One Domain Name 2 destinations
- Next by thread: Re: Query for AD to get E-mails With User Accounts & Creating New user Accounts !!
- Index(es):
Relevant Pages
|