Skip navigation

Q. I'm installing Exchange 2010 and I know there are various Roles and Features to install on Windows Server 2008 R2. Is there a single script I can run to set up all the required pre-requisites for installation?

A. I recently came across a great PowerShell script that allows you to select the type of Exchange 2010 roles being installed and then does everything for you.

Below is an installation in action. If you've never run scripts before, you will need to run

Set-ExecutionPolicy unrestricted

to allow the script to run. Just launch your PowerShell window and type

.\Ex2010-PreRequisites.ps1

to launch the script. Once the script has run, you'll most likely need to reboot. After the reboot is complete, you can begin installing Exchange.

Exchange Server 2010 - Pre-requisites script
Please select which role you are going to install..

1) Hub Transport
2) Client Access Server
3) Mailbox
4) Unified Messaging
5) Edge
6) Typical (CAS/HUB/Mailbox)
7) Client Access and Hub Transport

9) Configure NetTCP Port Sharing service
10) Install 2007 Office System Converter: Microsoft Filter Pack - Only if you are installing Hub or Mailbox Server role

13) Restart the computer


Select an option.. \\[1-13\\]?
6
WARNING: \\[Installation\\] Succeeded: \\[.NET Framework 3.5.1 Features\\] .NET Framework 3.5.1. You must restart this server
to finish the installation process.
WARNING: \\[Installation\\] Succeeded: \\[Windows Process Activation Service\\] Configuration APIs. You must restart this
server to finish the installation process.
WARNING: \\[Installation\\] Succeeded: \\[Windows Process Activation Service\\] .NET Environment. You must restart this server
to finish the installation process.
WARNING: \\[Installation\\] Succeeded: \\[Windows Process Activation Service\\] Process Model. You must restart this server to
..
..
WARNING: \\[Installation\\] Succeeded: \\[RPC over HTTP Proxy\\] RPC over HTTP Proxy. You must restart this server to finish
the installation process.

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Yes Succes... \\{.NET Framework 3.5.1, Configuration APIs,...

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish