Solved

How to bulk create LINKED mailboxes in Exchange 2007

Posted on 2008-10-22
4
2,299 Views
Last Modified: 2012-05-05
Hello,
I am creating mailbox in Exchange 2007 SP1 using a dedicated exchange domain topology.  I have created some individual test accounts and am familiar with the creation of Linked mailboxes through the emc.  I was wondering if anyone can point me to instructions on doing a bulk creation of Linked mailboxes?
I have 170 users in the accounts domain and it would be a pain to create them all individually.
thanks,
FlofromTO
0
Comment
Question by:martinichick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:mikainz
ID: 22777859
you can make a powershellscript.
see http://technet.microsoft.com/en-us/library/bb123524(EXCHG.80).aspx - at the end there is the command for Exchange powershell.

If you use Excel to build the script by formulas with a dump of you AD attributes you will get you script file fast.
hth
0
 

Author Comment

by:martinichick
ID: 22782145
Thanks mikainz.  I appreciate the reference.  I had seen that article previously.  It does indeed tell me how to creat an individual linked mailbox in the powershell.  I am looking for the steps to create a bulk import and creation of 170 mailboxes.  Does anyone have a reference to a step-by-step on this?  Perhaps this is what you meant in the "excel to build the script", but I'm sorry, I'm slow and I don't know what you mean by this.
Cheers,
floinTo
0
 
LVL 8

Accepted Solution

by:
mikainz earned 500 total points
ID: 22783578
Step 1
Export users from Active directory to csv or excel file (see for an example in vbscript http://www.visualbasicscript.com/m_29830/tm.htm)

Step 2
Import the file into Excel and build a formula to get the right string for the powershell command
="New-Mailbox -Database ""Mailbox Database 1"" -Name " & A1 & " -LinkedDomainController"  and so on ..
until you get your
New-Mailbox -Database "Mailbox Database 1" -Name "John Peoples" -LinkedDomainController "DC01fabrikam" -LinkedMasterAccount fabrikam\john -OrganizationalUnit Users -UserPrincipalName john@contoso.com -LinkedCredential:(Get-Credential fabrikam\Admin01

Step 3
Copy and paste those column into notepad and save it as powershell script

Step 4
let it run at the Exchange command shell prompt.
0
 

Author Comment

by:martinichick
ID: 22823926
Thanks. this was helpful.
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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