English 中文(简体)
Deploy PowerShell Exchange Cmdlets with site but without installing full Management Instrumentation
原标题:

Is it possible to run web site for managing Exchange Recipients on a web-server, where only PowerShell is installed? I don t 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?

最佳回答

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.

问题回答

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





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签