locked
Exchange Server 2010 SP1: Linked Mailbox RRS feed

  • Question

  • 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

    • Changed type khemarin Set Friday, August 12, 2011 8:10 AM change to develop
    Wednesday, August 10, 2011 3:44 AM

Answers

  • I try with other solution:

    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/d1873b25-3ab0-4bb3-86fe-f086d3fd96cd

    BR,

    Khemarin


    Khemarin333@hotmail.com
    • Marked as answer by khemarin Set Friday, August 19, 2011 1:22 AM
    Friday, August 19, 2011 1:22 AM

All replies

  • 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



    Friday, August 12, 2011 7:02 AM
    Moderator
  • Hi Evan,

    Noted with thanks,

    BR,

    Khemarin Set


    If 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
    Friday, August 12, 2011 8:22 AM
  • I try with other solution:

    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/d1873b25-3ab0-4bb3-86fe-f086d3fd96cd

    BR,

    Khemarin


    Khemarin333@hotmail.com
    • Marked as answer by khemarin Set Friday, August 19, 2011 1:22 AM
    Friday, August 19, 2011 1:22 AM