Prepare AD Schema before Install MS Exchange 2010

(HUB, CAS, MBX)

import-module servermanager
get-windowsfeature
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy –Restart

OR

d:\scripts> servermanagercmd -ip exchange-all.xml (name of script depends on installation)

——————————————–

EDGE – OS Preparation command

Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart

——————————————-

 
setup /PrepareLegacyExchangePermissions
setup /PrepareSchema
setup /PrepareAD /OrganizationName: „First Organization“

( over this command you can  re-create ms Exchange system arbitration accounts – DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}, FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042, SystemMailbox{1f05a927-26fe-4252-a803-85bab5b9ca2b}, SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} )
setup /PrepareAllDomains:FQDN