I have an HTML email being sent via Powershell to new users that have useful information in it like Phones numbers, email address and I wanted to add the Manager field. I put in my script
<strong>Manager:</stong> %manager%
but it sends it as Manger: CN=Steve Rogers,OU=Retired Avengers,DC=Marvel,DC=com.
I just want to display the name like Manager: Steve Rogers.
Is there a way to do that?