• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1258
  • Last Modified:

Exchange 2013 Get User CN Information

Hello,

I am trying to locate a users CN name from PowerShell in Exchange 2013. Any ideas?
0
Ryan Rood
Asked:
Ryan Rood
1 Solution
 
imkotteesSenior Messaging EngineerCommented:
Hi,

what about this? i didn't try it.

Get-ADUser "username" | fl
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Use the following command...

Get-ADuser -identity "sAMAccountName" -Properties * | fl

This will display all of the users properties. From there you will be able to find the CN of the Account.

For Exchange use the following command...

Get-User -identity "User Principal Name"  | fl

Hope this helps
0
 
SubsunCommented:
Try.. (Replace UserA with your username snd run the command from EMS)
Get-ADUser UserA -Properties CN,CanonicalName | FL CN,CanonicalName
0
 
Ryan RoodAuthor Commented:
Thank you! I could not find this information and Exchange 2013 is brand new to me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now