Dynamic Ports for RPC connections to Exchange - TCP/UPD Ports 49152 - 65535
The Dynamic Port Range has been changed in the Windows Vista, Windows 7 and Windows Server 2008. By default, a fresh Windows Server 2008 installation will have this Dynamic Port Range configured. To see the port range, you can use the following commands on your Exchange Servers:
NetSh INT IPV4 Show DynamicPort TCP
NetSh INT IPV4 Show DynamicPort UDP
RPC End Point Mapper (TCP/135)
LDAP - AD Lookups: TCP/389
Kerberos: TCP/UDP 88
LDAP Global Catalog: TCP/3268
DNS: TCP/UDP 53
WINS: TCP/UDP 137
Ports required for Remote Powershell:
Remote Powershell for Exchange - TCP Port 80 and access to the IIS /powershell virtual directory on your Exchange 2010 servers.