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 - Using PropertiesToLoad #11

Open
lazywinadmin opened this issue Aug 19, 2016 · 2 comments
Open

Performance - Using PropertiesToLoad #11

lazywinadmin opened this issue Aug 19, 2016 · 2 comments

Comments

@lazywinadmin
Copy link
Owner

Look at implementing PropertiesToLoad on classes such as:

  • System.DirectoryServices.AccountManagement.GroupPrincipal
  • System.DirectoryServices.AccountManagement.UserPrincipal
  • System.DirectoryServices.AccountManagement.ComputerPrincipal

The default set of properties retrieve from AD for each object is around 25 properties. Might want to limit that.

@lazywinadmin
Copy link
Owner Author

@lazywinadmin
Copy link
Owner Author

We might want to keep the number of properties to return to the default or low number.
We can use Get-ADSISchema to retrieve all properties available (mandatory and optional) if needed (many many properties). Maybe only the Mandatory would make sense.

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

No branches or pull requests

1 participant