Solved

Exchange 2007 New Mailbox Script for existing AD users

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
how to add IIS SMTP to handle application/Scanner relays into office 365.

775 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