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 (270k 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

My security team is looking to do a security review and would like the vendor to fill out a questionnaire.

asked Aug 25, 2023 by LarrySargent (20 points)
0 votes
1 answer

During a copy user action, I have a business rule to send an email which will contain the account password. Which property would I use to send it to recipient/requestor? Would %mail% look at the source user of the copy action or the newly created account?

asked Mar 24, 2023 by GronTron (270 points)
3,326 questions
3,026 answers
7,727 comments
544,683 users