I'm using powershell to get some data from userprofile but I cant get to display the Managers field name as its a person field. What I currently get it domain\username . How can I get a display name .
$Manager = $profile[[Microsoft.Office.Server.UserProfiles.PropertyConstants]::Manager].Value
Above is how Im currently getting the Managers field.
Thanks in Advance