Today, I received a request to find the manager for a whole bunch of users. This was a list of names (not UserId’s) in a Excel worksheet.
It is not actually that complex to do it
Locate the AD user based on the name
Check the Manager property
Lookup AD again for Manager to get the name
Click through for the script. This does, of course, assume that the information is already in Active Directory somewhere.