views:

262

answers:

2

Is it possible to run web site for managing Exchange Recipients on a web-server, where only PowerShell is installed? I dont want to install full Exchange Management Instrumentation on web-server, I want to use only Microsoft.Exchange.Management.PowerShell.Admin snap-in. Can I use some dlls from Exchange Server bin folder?

+1  A: 

I've seen this attempted before, and it failed. I'm going to assume you're talking about Exchange 2007.

I would recommend looking at using Exchange Web Services. They have a new managed API that is a relatively small install.

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1

Marco Shaw
Yes, I think this will be the best way.
Alkersan
Yes, agreeing with Steven on using PowerShell v2 if you can. I also remembered the other issue with dependencies when trying to install just a minimal set of DLLs is that Exchange remoting depends on RPC, and from what I can remember, that's implemented in another DLL in another directory...
Marco Shaw
I`he read about Exchange Web Services API, and it is not what i want. This API can`t manage the server recipients(create, remove, move to another store ...) , it can just work with messages, calender etc
Alkersan
+1  A: 

Another option would be (for Powershell V2 - which is supported by Exchange 2007 SP2) to use remoting and configure a session to export the commands you want.

Register-PSSessionConfiguration allows you to define commands via a startup script. There is a great demo of how this works in the PDC 09 sessions SVR12 and SVR13. There are some example scripts in the code samples.

Steven Murawski