Solved

How to bulk create LINKED mailboxes in Exchange 2007

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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 how to install and use the NTBackup utility that comes with Windows Server.
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 basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

809 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