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?

Improve company productivity with a Business Account.Sign Up

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.