Author Posts

September 14, 2015 at 12:05 pm

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?

September 14, 2015 at 10:33 pm

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.

September 16, 2015 at 10:50 am

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.