AdsiPS
AdsiPS copied to clipboard
Consider alternative or replacement to ambiguous name resolution
Hiyo!
Was looking to use this module for a small bit, but ran into issues with the anr queries in group membership functions (example).
Not sure what the best option would be, but as far as I can tell, there's no way to disambiguate an anr query. For example, let's say I have a user wf. I also have various other users, wframe, wfranklin, and so forth. I can't see a way to work with wf effectively ((anr=wf) returns all matching wf* AFAICT).
Potential options:
- ParameterSet (or something along those lines) for
MemberQuery - Constructed filter that checks samaccountname, userprincipalname, distinguishedname (more or less identity props as desired) for the
Membervalue - Something else?
Cheers!
Thanks for the feedback and suggestions @RamblingCookieMonster
After a quick search, It seems we can also do (anr==wf) see here
Will look into it.