I am working with some automation in an Active Directory env with an empty root and a few child domains.
The automation is selecting a random DC which happens to consistently be the forest level DC for account creation in child domains. I can get this value and want to use it as the DomainController parameter for Enable-Mailbox to ensure a successful creation in Exchange shortly after. Whether I provide the downlevel or distinguished name format, it doesn't help. It seems none of the exchange tools interpret referrals. The DomainController param apparently must be in the domain of the user? Anyone have any insight on this type of scenario? Thanks! jlc
