Exchange 2007 setup command line




















No doubt there are more elegant ways to do this, but for now, this is the best I have come up with! As I have made clear, I am working in a one server environment however, it is worth mentioning here a crucial step for multi-site networks; routing setup. As part of the default installation a routing group connector is created between the Exchange routing group which hold the server specified during setup and the Exchange routing group. In larger organisations I would use a script as below to setup the other relevant connectors:.

The script first deletes the default connector and then replaces it with connectors named as per your naming convention which are bidirectional and have a cost of Back in our single server environment, there are a few global setting still to configure. First I set the maximum amount of message tracking logs to be kept to 10GB. Next I configure the maximum message size which the Exchange organisation will accept. Finally, I ensure that Exchange will allow both Outlook and Outlook clients to send Out of Office messages to the Internet using the script below:.

Having performed the global configuration tasks above, next I perform the steps below to set up specific settings on the Client Access server. As you will likely know, Exchange makes use of certificates to secure various means of access including Outlook Web Access.

By default it uses a self signed certificate however, this almost always requires replacing with one generated either from an internal private certificate authority CA or from a public CA like VeriSign otherwise users end up being prompted that the certificate is not trusted. To do this I use the following commands:. The above script generates a certificate request file which you would then be passed to either an internal CA or a 3rd party public one.

Once the CA returns the certificate the following scripts should be used to install and enable the certificate. The above script first imports the certificate and then pipes the Thumbprint to the Enable command so that the certificate is enabled for relevant services.

You should note that it may prompt you for a confirmation before enabling. The primary top-level, scenario-defining command line switches that are available in unattended Setup mode in Exchange or Exchange are described in the following table:. The optional supporting command line switches that are available in unattended Setup mode in Exchange or Exchange are described in the following table:. Download the latest version of Exchange on the target computer. For more information, see Updates for Exchange Server.

Verify the network, computer hardware, operating system, and software requirements at: Exchange Server system requirements and Exchange Server prerequisites. Verify that you've read the release notes at Release notes for Exchange Server. After you install Exchange on a server, you must not change the server name. Renaming a server after you've installed an Exchange server role is not supported.

Enterprise Admins group membership : Required if this is the first Exchange server in the organization. Schema Admins group membership : Required if you haven't previously extended the Active Directory schema or prepared Active Directory for Exchange. Exchange Organization Management role group membership : Required if you've already prepared the Active Directory domain that will contain the Exchange server, or if other Exchange servers already exist in the organization.

For more information, see Delegate the installation of Exchange servers. We recommend that you install Edge Transport servers in a perimeter network that's outside of your organization's internal Active Directory forest. Installing the Edge Transport server role on domain-joined computers only enables domain management of Windows features and settings. Edge Transport servers don't directly access Active Directory.

For more information about the Edge Transport role, see Edge Transport servers. Verify the local account on the target computer is a member of the local Administrators group on the target server. You need to configure the primary DNS suffix on the computer. For example, if the fully qualified domain name of your computer is edge. In coexistence scenarios, Exchange Hub Transport servers need an update before you can subscribe a Exchange Edge Transport server to an Active Directory site that contains Exchange Hub Transport servers.

If you don't install this update, the EdgeSync Subscription won't work correctly for Exchange Hub Transport server that participate in EdgeSync synchronization. For more information, see Supported coexistence scenarios for Exchange For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center. Note the virtual DVD drive letter that's assigned. Press Start. Setup checks the prerequisites, including all prerequisites specific to the server roles that you're installing.

If you haven't met all the prerequisites, Setup fails and returns an error message that explains the reason for the failure. If you've met all the prerequisites, Setup installs Exchange. Complete your deployment by performing the tasks provided in Exchange Server post-installation tasks. This example configures "Fabrikam Ltd" as the Exchange organization name in Active Directory and prepares Active Directory for the version of Exchange that's being installed.

For more information, see Prepare Active Directory and domains for Exchange. This example installs the first Exchange server Mailbox server in the organization, configures "Contoso Corporation" as the Exchange organization name in Active Directory, and installs the Exchange management tools on the local server. This example installs the Mailbox server role and the management tools in the default folder on the local server in an organization where Active Directory has already been prepared for the version of Exchange that's being installed.

This example installs the Mailbox server role on the local server by using the settings in the ExchangeConfig. The Microsoft tech I spoke with recognized that this was a problem; the suggested solution was to copy the files from the CD to a local hard drive and run setup from there.

In my case, while sitting on hold with Microsoft Support for an hour, I resolved it by doing a full dump of the domain and configuration naming contexts of Active Directory using ldifde :. I was then able to find the specific object with which Exchange Server Setup was having a problem and fix it.

In my case, the Offline Address Book server had somehow gotten damaged and was causing setup to fail.



0コメント

  • 1000 / 1000