View domain trust in command line

Is there a way to view the domain trust in the command line. My active domain level is 2003 and running windows XP. SP3

You know how you can go to Active dreictory domains and trust and view the trust tab.

I want to know how can i do the same thing in the command line, to view the outgoing and incoming trust.
sstretchhAsked:
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.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
You can use "netdom trust" command

netdom trustTrustingDomainName/d:TrustedDomainName/verify

For more information on what you can do with netdom,

1.Type "netdom trust | more" at the command prompt without the quote
2. Visit the link http://technet.microsoft.com/en-us/library/cc756944(v=ws.10).aspx

Regards
0

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
sstretchhAuthor Commented:
every time i try your example, I get an error for parameter is incorrect

if I just want to view the trust on the domain I am on. I can't figure out how to use your example.

One way i found to see my current domain trust is

c:>nltest /domain_trusts

I don't know if there is a way to pick a targert domain I have a trust with to see what their trusts are.
0
sstretchhAuthor Commented:
Netdom Query is what i needed. the below example gave me what i was looking for


This example here lets me see the trust of a target domain
>netdom query /d:domainname.com trust

This example here shows me the trust of the domain I am currently logged into
>netdom query trust
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
I'm happy that I can assist and that's why we are here, it is not just about the points.
0
sstretchhAuthor Commented:
and I most really do appreciate the help ! thanks again
0
sstretchhAuthor Commented:
I gave parital points for leading me in the right direction, but the example didn't work.
0
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 2003

From novice to tech pro — start learning today.