0 votes

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?

by (1.3k points)

1 Answer

0 votes
by (303k points)
selected by
Best answer

Hello,

Yes, it is possible. To add the full name of the object manager you need to use value reference %adm-ManagerFullName%.

Related questions

0 votes
1 answer

Is it possible when sending the email notification to include all recipients in a single email instead of individual emails going out to each user? Thanks

asked Nov 1, 2018 by cory.fiala (50 points)
0 votes
1 answer

We have a New User action set up for our HR staff to use. There is a field in the custom form that states "Notes for IT Department". I want to display the data that is ... IT Helpdesk. I don't know what parameter this would be considered. How can I find out?

asked Feb 14, 2020 by slowllama (100 points)
0 votes
1 answer

Hello, I am looking for a way with a custom command or script to change ExtensionAttribute4 for all users in a specific OU(and Sub-OU's). Currently all of the ... change them to firstname.lastname@yyy.com just changing the field after the @ symbol. Thank You

asked Mar 19, 2016 by Infounlim (470 points)
0 votes
1 answer

I would like to configure a scheduled report to send to a mail contact object. However, these mail contact objects are not showing up when I try to set them as the recipients. Is this possible or is there another way to go about this?

asked 3 days ago by scoutcor (180 points)
0 votes
1 answer

I have 2 scheduled reports that are supposed to be emailed to a distribution group with 4 members. Only 2 of the members are receiving the email. I ran a Message Trace in ... to. Where should I start looking for the problem? Never mind. I figured it out.

asked Mar 12 by jmatthews (250 points)
3,712 questions
3,392 answers
8,579 comments
549,873 users