xADDomainController side effect

Welcome Forums DSC (Desired State Configuration) xADDomainController side effect

This topic contains 2 replies, has 3 voices, and was last updated by

 
Moderator
3 years, 4 months ago.

  • Author
    Posts
  • #29743
    Don

    Participant
    Points: 0
    Rank: Member

    xADDomainController SecondDC
    {
    DomainName = $Node.DomainName
    DomainAdministratorCredential = $domainCred
    SafemodeAdministratorPassword = $safemodeAdministratorCred
    }

    Works the first time but fails if run again, my ConfigurationMode = 'ApplyOnly'
    and I see no Ensure = "Present". Is this by design?

  • #29750

    Keymaster
    Points: 1,785
    Helping HandTeam Member
    Rank: Community Hero

    I'm not entirely sure what the question is.

    Not all resources have an "Ensure" property – that's by design. However, the configuration shouldn't fail if run a second time – but in order to help troubleshoot it, we'd need more diagnostic information.

  • #29836

    Moderator
    Points: 24
    Team Member
    Rank: Member

    I believe it would be better to post your problem on Github.

    https://github.com/PowerShell/xActiveDirectory/issues

    You'll get better visibility with the users and developers of the resource plus a bugfix if necessary can be linked to your Github issue for tracking.

The topic ‘xADDomainController side effect’ is closed to new replies.