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 (289k 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 am trying to find a way to get an hourly report on locked out user accounts to only be sent if the total amout of locked out account exceeds 10 users. Is this possible in ... a way to setup the logic to check to see how many items are returned in a report.

asked Jun 12 by Vertigo (50 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)
3,548 questions
3,239 answers
8,232 comments
547,814 users