Solved

How to bulk create LINKED mailboxes in Exchange 2007

Posted on 2008-10-22
4
2,310 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

691 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