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 dll
s from Exchange Server bin folder?
views:
262answers:
2
+1
Q:
Deploy PowerShell Exchange Cmdlets with site but without installing full Management Instrumentation
+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.
Marco Shaw
2009-11-24 16:09:50
Yes, I think this will be the best way.
Alkersan
2009-11-24 16:36:26
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
2009-11-25 00:41:45
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
2009-11-26 15:18:41
+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
2009-11-24 19:51:28