AdsiPS icon indicating copy to clipboard operation
AdsiPS copied to clipboard

Consider alternative or replacement to ambiguous name resolution

Open RamblingCookieMonster opened this issue 8 years ago • 1 comments

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 Member value
  • Something else?

Cheers!

RamblingCookieMonster avatar Sep 18 '17 18:09 RamblingCookieMonster

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.

lazywinadmin avatar Sep 18 '17 20:09 lazywinadmin