The final portion also sets the user
password:
$DC1=???exchangeexchange???
$DC2=???local???
$DC3=$DC1+???.???+$DC2+???:389???
$Service_Account_OU=???SVC_Accounts???
$User=???svc-mb001???
$Password=???P@55w0rd???
$objDomain = [ADSI]???LDAP://$DC3/dc=$DC1,dc=$DC2???
$objOU = $objDomain.Create(???organizationalUnit???, ???ou=$Service_Account_OU???)
$objOU.SetInfo()
$objOU = [ADSI]???LDAP://$DC3/ou=$Service_Account_OU,dc=$DC1,dc=$DC2???
$objUser = $objOU.Create(???user???, ???cn=$User???)
$objUser.Put(???sAMAccountName???, ???$User???)
$objUser.SetInfo()
$objUser.SetPassword(???$Password???)
$objUser.SetInfo()
$objUser.Put(???UserAccountControl???, ???66048???)
$objUser.SetInfo()
Chapter 12: Working with Continuous Replication
337
Installing Windows 2003 R2 SP2
Install Windows Server R2 Service Pack 2 on both nodes. Exchange Server 2007 Service Pack 1 requires
Service Pack 2 for Windows 2003. The Mailbox server role requires the following components be
installed:
??‘ WWW Service
??‘ IIS Manager
??‘ IIS Common Files
??‘ COM+ Network Access
It is possible to script adding these Windows components with the command - line utility Sysocmgr.exe :
Sysocmgr /i: < master_oc_inf > /u: < unattend_spec > < /q > < /w > < /r >
??‘ The /i parameter is the full path to the master OC file.
Pages:
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479