Friday, February 21, 2020

Quick command line to list AD accounts with email address.


dsquery * -filter "&(objectclass=User)(objectcategory=Person)" -limit 0 -attr name mail

No comments: