July 2011
Intermediate to advanced
480 pages
11h 54m
English
When working with EWS, you first need to create an instance of the ExchangeService class that can be used to send SOAP messages to an Exchange server. This class has several properties and methods that can be used to specify explicit credentials, set the web service's end-point URL, or make a connection using the built-in AutoDiscover client. In this recipe, you'll learn how to make a connection to EWS that can be used to run custom scripts against the web service.
Add-Type -Path C:\EWS\Microsoft.Exchange.WebServices.dll
ExchangeService class:$svc = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService ...
Read now
Unlock full access