Exchange 2007 New Mailbox Script for existing AD users

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!
LVL 12
geowrianAsked:
Who is Participating?
 
Rajith EnchiparambilConnect With a Mentor Office 365 & Exchange ArchitectCommented:
Run shell command

get-user | where-object{$_.RecipientType eq User} | Enable-Mailbox Database EXCHANGESERVERNAME\Mailbox Database
0
 
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
0
 
geowrianAuthor Commented:
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
 
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
No problem.
0
 
geowrianAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.