Answered by:
Bulk import users into AD with exchange mailbox

Question
-
Hi all,
I'm looking at a way to import users into AD whilst creating Exchange 2010 mailboxes at the same time.
The biggest dilemma I will have is that the script will have to dynamically create the Exchange mailboxes assigned to different exchange databases based on first name
I.E
John Smith to be created, exchange mailbox created and assigned to Exchange Database G2L
Any help whatsoever would be great.
Even if it's a case of create an Excel document to create the scripts for me, but I need to know what the script would be to assign people to certain Exchange Databases.
Lewis Curbishley IT Professional
- Edited by Lewis Curbishley Friday, October 28, 2016 3:14 PM
Friday, October 28, 2016 12:05 PM
Answers
-
Hi,
Thanks for your post.
I did some research and cannot find such a way to import users to AD and enable mailboxes at the same time. Generally, you could complete this task in two steps:
1. Create Bulk Mailbox AD Users from CSV file using Powershell
2. Enable Mailbox for Bulk AD Users from CSV using Powershell
http://www.morgantechspace.com/2015/07/create-mailbox-ad-user-using-powershell.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If you need any help regarding Scripting and Exchange, we can seek help in the forums:
The Official Scripting Guys Forum
Exchange Server Forum
Alvin Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Monday, October 31, 2016 7:57 AM
All replies
-
Hi,
Thanks for your post.
I did some research and cannot find such a way to import users to AD and enable mailboxes at the same time. Generally, you could complete this task in two steps:
1. Create Bulk Mailbox AD Users from CSV file using Powershell
2. Enable Mailbox for Bulk AD Users from CSV using Powershell
http://www.morgantechspace.com/2015/07/create-mailbox-ad-user-using-powershell.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If you need any help regarding Scripting and Exchange, we can seek help in the forums:
The Official Scripting Guys Forum
Exchange Server Forum
Alvin Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Monday, October 31, 2016 7:57 AM -
Hi,
Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Tuesday, November 8, 2016 3:07 AM