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
http://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...
http://blogs.msdn.com/dvespa/archive/2009/10/22/remote-powershell-sample-explained.aspx

Programmatic Access via Remote PowerShell in Exchange Server 2010
http://msexchangeteam.com/archive/2009/11/02/453016.aspx

Connect Remote Exchange Management Shell to an Exchange Server
http://technet.microsoft.com/en-us/library/dd297932.aspx

Install Windows Management Framework
http://technet.microsoft.com/en-us/library/dd335147.aspx