IIS PowerShell Commands

Ultimately I am looking to run two PS commands to get and set EWS authentication on Exchange 2010.  I think I found what is needed, but wanted some verification.

Get-WebServicesVirtualDirectory -Identity EWS(default Web site)

Open in new window


Set-WebServicesVirtualDirectory -Identity Contoso\EWS(default Web site) -BasicAuthentication $true 

Open in new window

Kram80Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SubsunConnect With a Mentor Commented:
Don't forget to add the identiry in Double quotes..
Get-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)"

Set-WebServicesVirtualDirectory -Identity "Contoso\EWS (Default Web Site)" -BasicAuthentication $true 

Open in new window

0
All Courses

From novice to tech pro — start learning today.