With Exchange 2010, use Remote Powershell
With Exchange 2010, you should be using Remote Powershell. Below are some articles to help get you started.
How to call Exchange 2010 cmdlet's using Remote Powershell in code
https://blogs.msdn.com/dvespa/archive/2009/10/22/how-to-call-exchange-2010-cmdlet-s-using-remote-powershell-in-code.aspx
Remote Powershell Sample Explained...
https://blogs.msdn.com/dvespa/archive/2009/10/22/remote-powershell-sample-explained.aspx
Programmatic Access via Remote PowerShell in Exchange Server 2010
https://msexchangeteam.com/archive/2009/11/02/453016.aspx
Connect Remote Exchange Management Shell to an Exchange Server
https://technet.microsoft.com/en-us/library/dd297932.aspx
Install Windows Management Framework
https://technet.microsoft.com/en-us/library/dd335147.aspx