To list all the workstations in the domain Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica WORKSTATION
To list all the servers in Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica SERVER
To list all the domain controllers in the domain Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica DC
To list all the OUs in devgroup.example.com, type the following command at the command prompt:
netdom query /d:devgroup.example.com OU
To list the PDC for Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica PDC
To list the current PDC emulator for devgroup.example.com, type the following command at the command prompt:
netdom query /d:devgroup.example.com FSMO
You can use the Query operation with the /verify and /reset parameters to perform the Verify and Reset operations together. You can pipe the output of the Query operation to the netdom Verify or netdom Reset operation.
To list all servers and verify secure channel secret, type the following command at the command prompt:
netdom query /d:Northamerica SERVER /verify
To list all workstations and reset any unsynchronized secure channel secrets, type the following command at the command prompt:
netdom query /d:Northamerica WORKSTATION /reset
To list all the direct trust relationships for the domain Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN /Direct
To list all the direct and indirect trust relationships for the domain Northamerica, type the following command at the command prompt:
netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN
To list all trust relationships and check their status, type the following command at the command prompt:
netdom query /d:devgroup.example.com DOMAIN /verify

Additional references