I can use Microsoft.Exchange.Management.PowerShell.E2010 from the Exchange server to create a mailcontact, but when I do the same from another server with the exchange toolkit loaded I get no provided handler error. I can delete mail contacts from both servers though…


your versions of powershell the same on both the servers ?
are both servers the same OS ? Sometimes some functionality is lost when they are not the same OS and powershell version

HI Matt

Yes, exactly the same on both.

Have you created a PSSession to the Exchange server? You also need to either pass credentials or be logged in with a user with appropriate rights.

[blockquote] Import-PSSession (New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http:///PowerShell/ -Authentication Kerberos)[/blockquote]