Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How can I get user's Manager attribute as email/UPN format,

$
0
0

Hi guys,

I will export all managers along with the users and will run "set-user -identity -manager (upn/email of the manager)" on another forest.

But the problem is that how can I get user's Manager attribute as email/UPN format, because by default it comes as a CN= and the above command does not take CN.

I need to get the manager in CN format then convert it to their email.

Is there a command to get the user and their manager as email format.

Regards,


MCP,MCTS(Vista),MCSA(Messaging)


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>