C# PowerShell Exchange 2007 Manage code

A

auldh

i read the MS kb:
Using Exchange Management Shell Commands With Managed Code
http://msdn.microsoft.com/en-us/library/bb332449.aspx

how ever i'm getting
"{"No Windows PowerShell Snap-ins are available for version 1."}"

exception when i try to call
PSSnapInInfo info =
rc.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Admin", out snapEx);

my environment is:
windows 2003 32 server with sp1 + hotfixes
visual studio 2005 + hotfixes
Windows SDK for Windows Server 2008 and .NET Framework 3.5
powershell 1.0

the exchange servers are all 64 bit with windows 2003 r2+

my project requires my windows 32 bit 2003 server to call the Exchange
powershell snapin to get transport server and foreignconnector data.
basically one machine calls a remote exchange server.

i'm missing something and i'm not seeing clearly, can any one help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top