HI
IIS was installed using PowerShell DSC script below We have added only http binding since https has required cert thumbprint and that will be dynamic on every year.
Now , https binding is getting removed everytime server rebooted , Someone please help how to fix this issue.
Configuration Wserver
{
Import-DscResource -ModuleName xwebadministration
Node $localhost
{
xWebsite Testwebsite
{
Ensure = “Present”
Name = “DefaultWebSite”
State = “Started”
ApplicationPool=“DefaultAppPool”
BindingInfo = MSFT_xWebBindingInformation
{
Protocol = “http”
Port = “80”
}