The scope determines
how far down the hierarchy the utility searches for the specified object. The subtree
option searches the subtree root and the specified start node. The onelevel option searches the
MANAGING ACTIVE DIRECTORY WITH THE DSQUERY UTILITY 479
immediate children (one level down the hierarchy) of the start node only. The base option
searches the single object represented by the start node. When working with the forest root
node, you can only perform a subtree search. The default search scope is subtree.
-name Name Searches for the object with the specified name. You can use the asterisk (*) to signify
wildcard searches. For example, A* would search for all objects beginning with the letter A,
while *ing would search for objects that end with ???ing.??? You can also combine wildcards. For
example, A*ing would search for objects that begin with ???A??? and end with ???ing.???
-desc Description Searches for an object with a specific description. As with the -name
argument, you can use wildcard characters as part of the search criteria. Always enclose arguments
that contain spaces within quotes. Because most descriptions contain spaces, you can
reduce errors by always enclosing descriptions in quotes.
Pages:
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133