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 (301k 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 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 (210 points)
0 votes
1 answer

I have a number of custom Powershell commands that run during user onboarding, and while the Powershell script runs successfully, the Adaxes execution log for the command will ... Adaxes when this happens so the command doesn't show that it ran successfully?

asked Dec 16, 2024 by cwyant-hfg (40 points)
3,677 questions
3,361 answers
8,494 comments
549,317 users