I'm looking to get the manager name from a user and pass it to a script for maintenance.
{manager} is not an option that works but it is the name of the ad field.
I'm able to pass {username} to my script -(powershell)- but I need to get the ad user's manager as well.
Any help would be greatly appreciated!
Thanks!