Solved

Exchange 2007 New Mailbox Script for existing AD users

Posted on 2009-05-13
5
417 Views
Last Modified: 2012-05-06
Hello experts,

We are using a portal software (Luminis Platform IV) right now and are moving it to authenticate against Active Directory. I created the code to authenticate users, provision accounts in AD, and sync related data overnight. Most users will be created in the portal software by our portal support staff, and AD is used only for authentication with other systems on campus.

We are now setting up an Exchange 2007 system as our primary email server. Could somebody please help me or provide the code to find users in AD that do not yet have a mailbox, and create an Exchange mailbox for them?

Thanks!
0
Comment
Question by:geowrian
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24378618
0
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 500 total points
ID: 24378633
Run shell command

get-user | where-object{$_.RecipientType eq User} | Enable-Mailbox Database EXCHANGESERVERNAME\Mailbox Database
0
 
LVL 12

Author Comment

by:geowrian
ID: 24378715
Thanks! I think I can figure it out from there. I'll play around with the parameters tonight and tomorrow to get the exact settings I need. If everything works out, I'll accept your answer.

I <3 EE
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24379579
No problem.
0
 
LVL 12

Author Closing Comment

by:geowrian
ID: 31581178
Thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The viewer will learn how to count occurrences of each item in an array.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question