Binding iis sites with 443 host name


hi fellow pwoershell users!

im enjoying playing around fantastic tool:-)

i seem bit stuck on something.

has come across powershell version of:


cd %windir%\system32\inetsrv appcmd set site /site.name:"website" /+bindings.[protocol='https',hostnamedsites='*:443:hjem']

thanks help, got working:

import-module webadministration new-webbinding -name "iiswebsitename" -ipaddress "*" -port 443 -hostheader "hostheadernameforsite" -protocol https

br

bjorn



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client