SidtoName.exe
This utility will show you what Name is associated with an SID (and vice versa)
Delegration Report
for /f "delims=" %x in ('dsquery OU "OU=HR,DC=d1,DC=com"') do acldiag %x > %x.txt
SidtoName.exe
This utility will show you what Name is associated with an SID (and vice versa)
Delegration Report
for /f "delims=" %x in ('dsquery OU "OU=HR,DC=d1,DC=com"') do acldiag %x > %x.txt