Exchange 2010 Prerequisites

http://technet.microsoft.com/en-us/library/bb691354.aspx

This example is for a server that will have the typical installation of the Client Access, Hub Transport, and Mailbox server roles:

You can add the below in the Add-Windows Feature wizard or just paste the code below in a PowerShell window and it does just the same.

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