Great program. Thank you VERY MUCH for it.
I prefer _AD_GetObjectAttribute by email address as it's easier to remember to my users and is unique for each user at my work.
so instead of FQDN or sAMAccountName I use email address so I added the following line
in Func _AD_GetObjectAttribute($sObject, $sAttribute)
below line: If StringMid($sObject, 3, 1) = "=" Then $sProperty = "distinguishedName" ; FQDN provided
I added: if StringInStr($sObject, "@") > 0 then $sProperty = "mail"
Thanks again for the great work!