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

Provide an ability to exclude properties when asking for all or many properties #65

Open
pawill1973 opened this issue Mar 21, 2025 · 1 comment

Comments

@pawill1973
Copy link

Is your feature request related to a problem? Please describe.
Not really a problem, but loads of cack output to the console that I wish to avoid.

Describe the solution you'd like
When querying and retrieving all properties, e.g. "-PropertiesToLoad *", provide the ability to then provide a list of properties to ignore.

e.g., I'd like to be able to do something like this:

$res = Find-LdapObject -LdapConnection $prdLDAPSvr -searchBase $prdLDAPBase -PropertiesToLoad * -searchFilter $lDAPFilterForSomethign -PropertiesToIgnore "someCustomAttribute1,someCustomAttribute2,userCertificate"

Additional context
The userCertificate attribute spews unintelligable output. If you have other attributes from a 3rd party vendor that also store encrypted data, the output is awful when just dumping the results or using $bah | fl *, etc.

jformacek added a commit that referenced this issue Mar 23, 2025
@jformacek
Copy link
Owner

Hello, thanks for reaching out. IgnoredProperties supported in 2.2.2-beta1 - please test

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

2 participants