I\'m trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassi
You might need a patch.
From: http://support.microsoft.com/kb/943937
An application cannot impersonate a user and then run Windows PowerShell commands in an Exchange Server 2007 environment To resolve this problem, install Update Rollup 1 for Exchange Server 2007 Service Pack 1.
An application cannot impersonate a user and then run Windows PowerShell commands in an Exchange Server 2007 environment
To resolve this problem, install Update Rollup 1 for Exchange Server 2007 Service Pack 1.