LDAP query in PowerShell

Given the contents of the query filter, I’d say you’re looking for a user, so I’d suggest using the Get-ADUser cmdlet from the ActiveDirectory RSAT module:

Get-ADUser -LDAPFilter '((mailNickname=id*)(whenChanged>=20170701000000.0Z))(|(userAc

Leave a Comment