Server 2008 R2 adprep


Does anyone know of any way to query AD to check the status of where adprep is with each forest and domain?
How do I know if adprep has been run on all domains and that all domains have had gpoprep completed also?

I have a single forest with 20 domains.
Any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You must use the repadmin tool (from Support Tools) with the /replsum switch
Hal-itosisAuthor Commented:
Not really....

That gives me the replication summary of my forest but no detail of the adprep info of each domain.
Darius GhassemCommented:
You can go through these steps to check the verison.
Hal-itosisAuthor Commented:
Found the results I was looking for and came back to post but dariusq got there before me.

Here is what i found:

This is the result I was after.
dsquery.exe * "CN=Schema,CN=Configuration,DC=contoso,DC=com" -scope base -attr objectversion

Here is what the versions will mean:

47 = Windows Server 2008 R2
44 = Windows Server 2008
31 = Windows Server 2003 R2
30 = Windows Server 2003
13 = Windows 2000

Thanks all

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Darius GhassemCommented:
I'm glad you got the results you needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.