AutomatedLab / AutomatedLab.Common

PowerShell module for daily administrative tasks and general helper functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find-CertificateAuthority does not work in a multi-domain forest

raandree opened this issue · comments

Find-CertificateAuthority looks for the configuration partition using the domain name instead of the forest name.

$cdpContainer = [ADSI]"LDAP://CN=CDP,CN=Public Key Services,CN=Services,CN=Configuration,$DomainName"

Using the RootDSE object should solve that.