Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using PowerShell, how can I script the setting of an IIS 7.5 site to 'Allow SSL connections' rather than 'Require SSL connections'? I cannot seem to identify the name of the configuration property I need to modify.

enter image description here


share|improve this question
up vote 2 down vote accepted

I would really love it if there was actually documentation available on some of this stuff. I figured it out via multiple calls to Get-ItemProperty IIS:\Sites\sitename.

Set-ItemProperty IIS:\Sites\cdn -Name -Value 0
Set-ItemProperty IIS:\Sites\cdn -Name -Value 0
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.