xADDomainController side effect

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Daniel Krebs Daniel Krebs 1 year, 4 months ago.

  • Author
    Posts
  • #29743
    Profile photo of Don
    Don
    Participant

    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
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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
    Profile photo of Daniel Krebs
    Daniel Krebs
    Participant

    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.

You must be logged in to reply to this topic.