Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues with DriveMapping Script #47

Open
rpertusio opened this issue May 12, 2023 · 0 comments
Open

Performance issues with DriveMapping Script #47

rpertusio opened this issue May 12, 2023 · 0 comments

Comments

@rpertusio
Copy link

rpertusio commented May 12, 2023

Can you create a variation of the script that removes the PARENT group lookup? (We use nested groups, but NOT for drive mapping.)

WITH parent group lookup = 53 seconds
$searcher.Filter = "(member:1.2.840.113556.1.4.1941:=$distinguishedName)"

WITHOUT parent group lookup = 0.2 seconds
$searcher.Filter = "(member=$distinguishedName)"

The parent group lookup (53 seconds per PC) caused our domain controllers to max out CPU when thousands of devices started using the script. We have tens of thousands of objects to lookup in our AD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant