This one’s a no-brainer even for those that don’t like the command line.
Exchange 2010 has a set of pre-requisites that although aren’t extensive, are a bit of a fiddle to install using the GUI. A quick way of getting them all on is to use the pre-packaged XML ServerManagerCmd Answer files provided in the scripts directory of installation media. I’ve provided a list of the most common answer files below with the respective command that can be run from inside the scripts directory .
Install Exchange Server 2010 operating system prerequisites for all server roles (Client Access, Hub Transport, Mailbox and UM)
ServerManagerCmd -ip Exchange-All.xml -Restart
Install Exchange Server 2010 operating system prerequisites for a typical installation (Client Access, Hub Transport and Mailbox)
ServerManagerCmd -ip Exchange-Typical.xml -Restart
Install Exchange Server 2010 operating system prerequisites for the Client Access server role
ServerManagerCmd -ip Exchange-CAS.xml -Restart
Install Exchange Server 2010 operating system prerequisites for the Hub transport server role
ServerManagerCmd -ip Exchange-Hub.xml -Restart
Install Exchange Server 2010 operating system prerequisites for the Mailbox server role (including Mailbox servers with Hub Transports)
ServerManagerCmd -ip Exchange-MBX.xml -Restart
Don’t forget on servers that will host the Client Access role to set the .Net TCP Port Sharing service to start automatically:
sc config NetTcpPortSharing start=auto
And on Hub Transport and Mailbox servers, install the Microsoft Filter Pack.