How do I view which domains are in my forest?

I have 2 domains on my LAN (and two domain controllers - one DC for each domain). They are configured to have mutual trust for each other. I would like to know if both domains are in the same forest or not. They are Windows 2008 servers.
Who is Participating?
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.

Kyle DaviesRetail Software SpecialistCommented:

When you log onto you AD sever you cal click on start>administrative tools>active directory domains and trusts and you should be able to see it there.

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
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Use "netdom query fsmo" without the quotes in an elevated command prompt will show you the FSMO roles on the DCs.

Hey you have two options for this. First you can have a look at this link. It should help you at some cases.

Do update, Did you use AD domains and trusts on the DC having the Schema/Domain naming master FSMO? AS this FSMO roles are always on the forest DCs.?

"netdom query fsmo" without the quotes in an elevated command prompt will show you the FSMO roles on the DCs.

Or you can use a script like:

bobox00Author Commented:
Thanks for all comments.
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
Windows Server 2008

From novice to tech pro — start learning today.