Running the Active Directory Documentation Script in a Multiple Domain Forest
I have received numerous emails and comments from people having issues running the Active Directory (AD) documentation script in a forest that contains multiple domains. I finally got off my lazy rear end and took the time to figure out the issue and solution.
I created a forest with two domains for my testing.
The forest is at the 2012 R2 Forest Functional Level.
Running the script in a regular PowerShell session from the parent domain using an account with Enterprise Admin rights, I can get all the hardware, services, time server, AD files and DCDNSINFO for all domain controllers in all domains. As expected since Enterprise Admins have rights to all domains in a forest.
Read the entire article here, Running the Active Directory Documentation Script in a Multiple Domain Forest
via Carl Webster