I'm looking to get a quick accounting of how many trusts we have in our AD environment so I used nltest /server:<domain controller host> /domain_trusts /all_trusts
It's easy enough to figure out where the 1 and 2 way trusts are but I can't find documentation on some of the other output that is being displayed. For example:
0: MYDOMAIN mydomain.test.net (NT 5) (Forest: 1) (Direct Outbound) (Direct Inbound) ( Attr: 0x20 )
1: TEST test.net (NT 5) (Forest Tree Root)
2: CHILD child.ey.net (NT 5) (Forest: 1)
3: SUBCHILD subchild.child.ey.net (NT 5) (Forest: 6)
I get the direct outbound and inbound, I assume "NT 5" is just the server release version (please correct me if I'm wrong), but what is the "Forest: #" data being returned? The only thing I can tell is that the number is higher for child/sub domains.