467,869 Members | 1,409 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,869 developers. It's quick & easy.

C# PowerShell Exchange 2007 Manage code

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.Powe rShell.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?
Oct 9 '08 #1
  • viewed: 2843
Share:
1 Reply
never mind. i had to load the Exchange Management tool for the 32 bit server.

"auldh" wrote:
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.Powe rShell.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?
Oct 9 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Neil Chambers | last post: by
3 posts views Thread by =?Utf-8?B?VGhvbWFzIFcuIEJyb3du?= | last post: by
2 posts views Thread by Alexander Vasilevsky | last post: by
5 posts views Thread by josepharmbruster | last post: by
reply views Thread by =?Utf-8?B?SmVycnk=?= | last post: by
5 posts views Thread by krasman | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.