how to configure EWS on exchange using powershell

how to configure EWS on exchange using powershell

Check configuration :

Get-WebServicesVirtualDirectory |fl identity,internalurl,externalurl

Set internal EWS configuration

Set-WebServicesVirtualDirectory -Identity “MAIL01\EWS (Default Web Site)” -InternalUrl https://MAIL01.domain.local/EWS/Exchange.asmx -BasicAuthentication:$true

Set external EWS configuration

Set-WebServicesVirtualDirectory -Identity “MAIL01\EWS (Default Web Site)” -ExternalUrl https://something.domain.com/EWS/Exchange.asmx -BasicAuthentication:$true

Leave a Reply

Your email address will not be published.

fourteen + twelve =

This site uses Akismet to reduce spam. Learn how your comment data is processed.