Solved

Exchange 2007 New Mailbox Script for existing AD users

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

18 Experts available now in Live!

Get 1:1 Help Now