DSQUERY Server
Otput Screen:
"CN=testserver,CN=Servers,CN=sydney,CN=Sites,CN=Configuration,DC=test,DC=com,DC=au"
"CN=DC1,CN=Servers,CN=Campbelltown,CN=Sites,CN=Configuration,DC=test,DC=com,DC=au"
"CN=DC2,CN=Servers,CN=Campbelltown,CN=Sites,CN=Configuration,DC=test,DC=com,DC=au"
"CN=SDC1,CN=Servers,CN=City,CN=Sites,CN=Configuration,DC=test,DC=com,DC=au"
"CN=SDC2,CN=Servers,CN=City,CN=Sites,CN=Configuration,DC=test,DC=com,DC=au"
or, if you prefer the host names only then type:
DSQUERY Server -o rdn
Output Screen:
testserver
DC1
DC2
SDC1
SDC2
You can also use the below command on window server 2003:
nltest /dclist:DomainName
For example:
nltest /dclist:test.com.au
No comments:
Post a Comment