1

I want to write a windows service that periodically synchronises a database with the contacts in an exchange 2007 server instance.

Is this possible with Exchange Web Services or can I do this with powershell?

If I go the EWB route, does this means that I need the client to set up the Web Service end point and make it pubilc?

The client is corporate and will resist this request. Is there a better way?

Alfred Myers
  • 6,384
  • 1
  • 40
  • 68
dagda1
  • 26,856
  • 59
  • 237
  • 450

1 Answers1

0

There's no reason why you can't do it with powershell, even within a windows service written in C#. Powershell commands can be composed and executed in-process by way of referencing the System.Management.Automation assembly and working with the Runspace (powershell v1) or PowerShell (powershell v2) Types.

x0n
  • 51,312
  • 7
  • 89
  • 111