Recursion searches nested folders or organizational units from a higher-level scope. In time-sensitive watcher scripts, broad recursive traversal can process many irrelevant items and reduce efficiency. section 3.3.1
Prefer narrower traversal when the required locations are known:
- Scope commands directly to the folders or organizational units that contain relevant data. section 3.3.1
- Use separate watchers for multiple known folders when that is faster than scanning their parent recursively. section 3.3.1
Active Directory watcher
A watcher needed only each site's User OU, not its Computers, Admins, Printers, or Service Accounts OUs. Listing site-level OUs and then querying each User OU reduced execution time from 90 seconds with recursion to 10 seconds. section 3.3.1






















