[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

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

0
Kram80
Asked:
Kram80
2 Solutions
 
SubsunCommented:
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

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now