Exchange Server 2010 SP1: Linked Mailbox
Hi all,
I have two domain forest.
Forest01: dc01.hello.com is account forest are running Windows Server 2008 R2.
Forest02: West.Exchange.local is Resource Forest are running Windows Server 2008 R2. I have installed Exchange Server 2010 SP1 named Ex01.exchange.local.
My users mailbox is linked mailbox. The step to create linked mailbox is normal. Firstly, I create account in dc01.hello.com of Forest01. Secondly I create the linked mailbox in Ex01.exchange.local of forest02.
If I have more users, I have running script to create linked mailbox as the following :-
Script running in Exchange Management Shell:
$credential = Get-Credential
Import-Csv c:\scripts\importrecipient\recipients_script.csv | foreach {New-mailbox –Name $_.Name -Alias $_.Alias –firstname $_.firstname –lastname $_.lastname -OrganizationalUnit ‘exchange.local/users’ -UserPrincipalName
$_.UPN –Database DB1 -LinkedMasterAccount $_.LMA -LinkedDomainController dc01.hello.com -LinkedCredential $credential }
all list recipients_script.csv
firstname
lastname
Name
Alias
UPN
LMA
khemarin
set
khemarin set
setk
setk@exchange.local
setk@hello.com
Visal
man
Visal man
visalm
visalm@exchange.local
visalm@hello.com
I noted: I can running this script success on ex01.exchange.local until I have created the account in dc01.hello.com
My Goal. I want to create the script that can running without firstly to create the account in Account forest (dc01.hello.com)
Noted: If I don have the account in the account forest. it help to create the account then create the linked mailbox
Please kindly guide?
BR,
Khemarin Set
Khemarin333@hotmail.com
August 10th, 2011 6:44am
Hi Khemarin,
Per my knowledge, there might no direct way to do that by Exchange Server, maybe you can try to do that by programming.
I suggest you post question in this forum, maybe somebody there can help you programming to achieve the goal:
Exchange Development forum
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Thanks,
Evan
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2011 10:02am
Hi Evan,
Noted with thanks,
BR,
Khemarin SetIf you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". Khemarin333@hotmail.com
August 12th, 2011 11:22am
I try with other solution:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/d1873b25-3ab0-4bb3-86fe-f086d3fd96cd
BR,
KhemarinKhemarin333@hotmail.com
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2011 4:22am