Cmdlets for Microsoft Active Directory

Build 24.0.9060

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, BASEOBJECT

Data 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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060