In order to install Exchange server 2010 with Client Access, Hub Transport, and Mailbox server roles:
1- Servers that will host the Hub Transport or Mailbox server roles require the Microsoft Filter Pack which can be downloaded here:

2- After installing the Filter Pack run the ” Import-Module ServerManager “ command from Windows PowerShell console.

3- Run the following command from Windows Power Shell:

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,RPC-Over-HTTP-Proxy –Restart

4- After the restart run ” Set-Service NetTcpPortSharing -StartupType Automatic “ command from Windows PowerShell console.

5- After installing Exchange Server 2010 prerequisites, run Microsoft Update to verify the latest updates are applied to the server before continuing with the Exchange Server 2010 installation.