Home Slide - 1
PlayPlay
Experience Based Training
Only 5 Students Per Month
We Train Until You Are Hired!
Home Slide - 1

Free Training – Steps to Install Microsoft Exchange Server 2010 in CLI Mode

First things first, the installation prerequisites for Exchange server 2010 include the following:

  1. Active Directory Schema Master running On Server 2003 or later
  2. Domain Controller should have the Exchange Server as a member
  3. Domain Controller should be a Global Catalogue Server
  4. Microsoft Filter Pack must be installed
  5. Windows Remote Management 2.0
  6. Microsoft .NET Framework 3.5
  7. Windows PowerShell V2
  8. Internet Information Services (IIS) 7.0
  9. Microsoft Management Console 3.0

Here is how you can install Microsoft Exchange Server 2010:

Step 1: Insert the Exchange Server installation disk into CD-ROM or you can simply extract ISO file of exchange server 2010 into one of the drives.

You’ll have to first extract Active Directory Schema and install RSAT-ADDS tool PowerShell. Now open PowerShell and type in the following commands:

  1. Import-Module ServerManager
  2. Add-WindowsFeature RSAT-ADDS

Training exchange server 2010 install microsoft exchange server 1

Step 2: We prepare Schema, AD and Domain in the next step. This involves opening the command prompt and accessing the drive where the ISO file of Exchange Server 2010 was extracted.

Type the following commands:

1.>Setup /prepareSchema

Training exchange server 2010 install microsoft exchange server administrator command prompt 2

2.>Setup /prepareAD /OrganizationName:Domain2

Training exchange server 2010 administrator command prompt 3

3.>Setup /prepareDomain

Training exchange server 2010 administrator command prompt 4

Step 3: Open PowerShell and import the Server Manager Module

C:\>Import-Module ServerManager

C:\>Set-Service NetTcpPortSharing -StartupType Automatic

C:\>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,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy –Restart

Training exchange server 2010 administrator windows powershell 5

Step 4: At this stage, the Exchange Server has got all required packages. Now, you can use XML scripts to install all roles of the Exchange Server 2010.

The following roles are installed by the script:

Exchange-all.xml. All server roles.
Exchange-base.xml. Base Installation for any role.
Exchange-cadb.xml. Central Admin database.
Exchange-cas.xml. Client Access Server role.
Exchange-eca.xml. Central Admin.
Exchange-edge.xml. Edge Transport Server role.
Exchange-hub.xml. Hub Transport Server role.
Exchange-mbx.xml. Mailbox Server role.
Exchange-typical.xml. Mailbox/Client Access/Hub server roles.
Exchange-um.xml. Unified Messaging Server roles.

Step 5: Enter Command: C:\Users\Administrator\Desktop\Exchange\Script>ServerManagerCmd.exe –IP Exchange-Typical.xml –restart

 Training exchange server 2010 administrator command prompt 6

Command-Line Installation of Exchange server 2010 Roles

Step 1: We use the following terms to install Exchange Server 2010:

  1. HubTransport , HT, or H
  2. MailBox, MB, or M
  3. ClientAccess, CA, or C
  4. EdgeTransport, ET, or E
  5. UnifiedMessaging, UM, or U.

>Setup.com /mode:install /r:M,H,C

Training exchange server 2010 administrator command prompt setup 7

Or, we can also install server roles one by one by giving the following command:

>setup.com /mode:install /r:M

Training exchange server 2010 administrator c windows system32 cmd exe 8

For ClientAccess Server Role:

>Setup.com /Mode:Install /r:C

Training exchange server 2010 administrator desktop exchange 9

Similarly, for HubTransport Role, EdgeTransport and Unified Messaging Server Role.

Un-Install of Exchange server 2010 Roles by Command-Line

Step 1: Run the Command Prompt as Administrator. Now you can access the folder where the setup files of Exchange Server 2010 were extracted (By command-prompt).

>setup.com /mode:uninstall /r:H

Training exchange server 2010 administrator command prompt 10

If any point is unclear, or you have some doubts about the installation of Microsoft Exchange Server in CLI Mode, feel free to question our experts by posting out your queries in the comment section below. We shall try and provide specific answers at the earliest.

Scroll to Top