Solved

Exchange 2007 New Mailbox Script for existing AD users

Posted on 2009-05-13
5
401 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

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
how to add IIS SMTP to handle application/Scanner relays into office 365.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now