Scope Parameter (Connect-AD Cmdlet)
Whether to limit the scope of the search to the whole subtree (BaseDN and all of its descendants), a single level (BaseDN and its direct descendants), or the base object (BaseDN only).
Syntax
Connect-AD -Scope string
Possible Values
WHOLESUBTREE, SINGLELEVEL, BASEOBJECTData Type
cstr
Default Value
"WHOLESUBTREE"
Remarks
Whether to limit the scope of the search to the whole subtree (BaseDN and all of its descendants), a single level (BaseDN and its direct descendants), or the base object (BaseDN only). Limiting scope can greatly improve the search performance.
- WholeSubtree
- SingleLevel
- BaseObject
This is a required parameter.