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
Post a Comment