View Complete Thread
  • Creating SSL binding - New-WebBinding vs Set-WebConfigurationProperty

    Jan 08, 2014 01:25 AM|GJCanon|LINK

    Hi,

    What would be the difference of the following two commands:

    Add-WebConfigurationProperty -Filter '/system.applicationHost/sites/site[@name="mytestsite.local"]' -Name Bindings -Value (@{protocol="https";bindingInformation="*:443:mytestsite.local"}) -PSPath "IIS:\"

    or:

    New-WebBinding -name "mytestsite.local" -IP "*" -Port 443 -Protocol https