Help Required For DSC xWebAdminsitration

Welcome Forums DSC (Desired State Configuration) Help Required For DSC xWebAdminsitration

This topic contains 1 reply, has 2 voices, and was last updated by

4 months ago.

  • Author
  • #130590

    Topics: 1
    Replies: 0
    Points: 13
    Rank: Member


    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"

    BindingInfo = MSFT_xWebBindingInformation
    Protocol = "http"
    Port = "80"


  • #131082

    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    Well, the problem is that DSC is intended to keep things in a "desired state." When it finds something not "desired" – e.g., not in the config – it wants to "fix" it. Since HTTPS isn't in the config, it removes it. It's working as designed.

The topic ‘Help Required For DSC xWebAdminsitration’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort