Such as most products have, the setup from Exchange 2007 can be made unattented. This can partitially be done by specifying parameters after the setup command.

The first parameter, if you have your forest and domains prepped, is mode, with this parameter you can specify the mode setup will be running in: install, uninstall, upgrade or recover.

/mode:install

/mode:uninstall

/mode:upgrade

/mode:RecoverServer

The next parameter is role, with this parameter you can specify which rol(es) need to be install(ed) on the server:

/role(s):HubTransPort, HT, H installs the HUB Transport role

/role(s):ClientAccess, CA, C installs the Cient Access role

/role(s):MailBox, MB, M installs the HUB Transport role

/role(s):UnifiedMessaging, UM, U installs the Unified Messaging role

/role(s):EdgeTransport, ET, E installs theEdge Transport role

/role(s):ManagementTools, MT, T installs the Management Tools

It is possible to combine the parameters, for example:

/roles:H,C,M,T

The parameters above will install the Hub Transport, Client Access and Mailbox rols + the management tools.

Besided  the parameters already mentioned you can give up several other parameters for example to change the install directory, below an overview of a few of them:

  • /OrganizationName, /on with this parameter you can specify an Exchange organization, this parameter is needed when no Exchange environment is currently active.
  • /TargetDir, /twith this parameter you can specify the install directory, default it is %programfiles%\Microsoft\Exchange Server.
  • /DomainController, /dcwith this parameter you can specify the domaincontroller which is used for gathering the information that is needed and for writing some config issues in the Active Directory.
  • /UpdatesDir, /uif you don't want to install all updates manually after the setup you can use this parameter to install them automatically.

Besides the already mentioned parameters there are parameters for preparing the forest and domain for Exchange 2007:

  •  /PrepareLegacyExchangePermissions, /pl when you have installed an earlier version of Exchange you can't adjust the Active Directory for Exchange 2007. You should use this parameter to ensure that the previous Exchange versions will be working together with Exchange 2007. When you don't use this parameter it could be that the Recipient Update Service doesn't work OK anymore.
  • /PrepareSchema, /ps this parameter is used to prepare the schema for Exchange 2007. You should run the Exchange setup with this parameter on the Schema Master This parameter doesn't need to be specified when using PrepareLegacyPermissions, when using that it will be automatically done.
  • /PrepareAD, /p with this parameter you will prepare the forest. This parameter will also run the PrepareDomain parameter/action.
  • /PrepareDomain, /pd  will ensure that the domain will be prepared for Exchange 2007.
  • /PrepareAllDomains, /pad  this parameter is the same as the previous one, only this one will prepare all domains and subdomains.

Besides all the parameters mentioned there are a lot of more parameters that you can use, a full overview can be found on this site.


Comments


Johan Veldhuis