Query for AD to get E-mails With User Accounts & Creating New user Accounts !!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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 :-)


.



Relevant Pages

  • Re: ADMT ADClean
    ... if your original intention is to migrate Exchange Server 5.5 ... Run ADMT to create active user accounts in your Active Directory. ... Run Exchange Server Migration Wizard to move mailbox content from ...
    (microsoft.public.exchange.setup)
  • RE: ADMT ADClean
    ... if your original intention is to migrate Exchange Server 5.5 ... Run ADMT to create active user accounts in your Active Directory. ... Run Exchange Server Migration Wizard to move mailbox content from ...
    (microsoft.public.exchange.setup)
  • Re: exchange / outlook problem ?
    ... accounts created with the Add User and Add Computer wizards? ... outlook configuration is done automatically for all users. ... When user B logs onto the PC1, ... outlook says that the exchange server is unavailable. ...
    (microsoft.public.windows.server.sbs)
  • Re: New Exchange Server
    ... All users that will be on the exchange server to be able to "see each ... create mail accounts for all others then they could retrieve mail ... whilst others do it locally,& their .pst file stored on a local ... Some ISP have alias accounts, and forward the mail directly to a ...
    (microsoft.public.exchange.setup)
  • Re: 2nd email domain for all users
    ... If they're using outlook or outlook express and you have ... MVP - Exchange ... have the other users get their email through our exchange server. ... I would like to be able to grab the email for the accounts in our ...
    (microsoft.public.exchange.admin)