server
The server object locates all servers (rather than all machines) that match the specified search
criteria. This object doesn??™t support a starting node selection or a scope. In addition, it doesn??™t
482 CHAPTER 19 CONFIGURING DIRECTORY SERVICES
support the samid option for the -o command line switch. This object uses the following
syntax:
dsquery server [-o {dn | rdn}] [-forest] [-domain DomainName]
[-site SiteName] [-name Name] [-desc Description]
[-hasfsmo {schema | name | infr | pdc | rid}] [-isgc]
[{-s Server | -d Domain}] [-u UserName] [-p {Password | *}] [-q]
[-r] [-gc] [-limit NumberOfObjects] [{-uc | -uco | -uci}]
The following list describes each of the command line arguments.
-forest Searches for all domain controllers (server objects) that are part of the current forest.
-domain DomainName Searches for all server objects that are part of the specified domain. You must
use the DNS name of the domain controller. Don??™t use this command line switch when you want to
display all of the domain controllers within the current domain since this is the default setting.
-site SiteName Searches for all of the domain controllers (server objects) that appear as part
of the specified site.
Pages:
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140