Solved

How to bulk create LINKED mailboxes in Exchange 2007

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an email address policy 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 Mail Flow…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now